Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/InternLM/InternBootcamp
/ format_time_now
Function
format_time_now
internbootcamp/utils/format_time_now.py:3–4 ·
view source on GitHub ↗
(format_str: str = "%Y%m%d%H%M%S")
Source
from the content-addressed store, hash-verified
1
import
datetime
2
3
def
format_time_now(format_str: str =
"%Y%m%d%H%M%S"
) -> str:
4
return
datetime.datetime.now().strftime(format_str)
Callers
3
batch_generate_data
Function · 0.90
generate_data_with_config
Function · 0.90
run_evaluation
Method · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected