sidpy.base.string_utils.get_time_stamp

sidpy.base.string_utils.get_time_stamp()[source]

Returns the current date and time as a string formatted as: Year_Month_Day-Hour_Minute_Second

Return type:

str

Examples

>>> import sidpy
>>> stamp = sidpy.string_utils.get_time_stamp()
>>> print('Current time is: {}'.format(stamp))