MCPcopy Index your code
hub / github.com/pgadmin-org/pgadmin4 / get_current_time

Function get_current_time

web/pgadmin/misc/bgprocess/process_executor.py:138–139  ·  view source on GitHub ↗
(format='%Y-%m-%d %H:%M:%S.%f %z')

Source from the content-addressed store, hash-verified

136
137
138def get_current_time(format='%Y-%m-%d %H:%M:%S.%f %z'):
139 return datetime.now(timezone.utc).strftime(format)
140
141
142class ProcessLogger(Thread):

Callers 3

logMethod · 0.70
executeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected