schrodinger.application.job_monitor.util module

schrodinger.application.job_monitor.util.convert_to_local_timezone(utc_epoch_time)

Return the local timezone datetime object for the UTC epoch time.

Parameters

utc_epoch_time (float) – UTC epoch time

Return type

datetime.datetime

schrodinger.application.job_monitor.util.is_same_day(local_datetime)

Check whether the local datetime is of the the current day.

Return type

bool

schrodinger.application.job_monitor.util.get_current_utc_timestamp()

Return the UTC current epoch time.

Return type

float