hhpy
latest
Contents:
python API reference
hhpy.main Module
hhpy.main.py
Functions
today
size
mem_usage
tprint
fprint
elapsed_time_init
elapsed_time
total_time
remaining_time
progressbar
time_to_str
cf_vec
round_signif_i
round_signif
floor_signif
ceil_signif
concat_cols
list_unique
list_duplicate
list_flatten
list_merge
list_intersection
list_exclude
rand
dict_list
append_to_dict_list
is_scalar
is_list_like
assert_list
assert_tuple
assert_scalar
qformat
to_hdf
get_hdf_keys
read_hdf
rounddown
roundup
reformat_string
dict_inv
copy_function
get_else_key
Classes
Class Inheritance Diagram
hhpy.ds Module
hhpy.ipython Module
hhpy.modelling Module
hhpy.plotting Module
quickstart
hhpy
Docs
»
python API reference
»
time_to_str
Edit on GitHub
time_to_str
¶
hhpy.main.
time_to_str
(
t: datetime.datetime
,
time_format: str = '%Y-%m-%d'
)
→ str
[source]
¶
Wrapper for strftime
Parameters:
t
– datetime object
time_format
– time format, passed to strftime
Returns:
formated datetime as string
Read the Docs
v: latest
Versions
latest
stable
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.