dtm

Date/time functions

now

utc_now

The elevaso_spine.dtm.now.utc_now() function allows you to get the current date & time in UTC with the time zone.

Below is an example snippet that prints the current time with timezone.

import elevaso_spine

print(elevaso_spine.dtm.now.utc_now())

The output will look something like 2024-03-13 18:50:09.252091+00:00.

elevaso_spine.dtm.now.utc_now() datetime[source]

Current date & time in UTC time with timezone

Returns:

datetime.datetime representing current timestamp