Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
138
def
get_current_time(format=
'%Y-%m-%d %H:%M:%S.%f %z'
):
139
return
datetime.now(timezone.utc).strftime(format)
140
141
142
class
ProcessLogger(Thread):
Callers
3
log
Method · 0.70
_handle_execute_exception
Function · 0.70
execute
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected