today

hhpy.main.today(date_format: str = '%Y_%m_%d') → str[source]

Returns today’s date as string

Parameters:date_format – The formating string for the date. Passed to strftime
Returns:Formated String

Examples

>>> today()
'2020_01_14'