pyacs.lib.gpstime.mkUTC

pyacs.lib.gpstime.mkUTC(year, month, day, hour, minute, sec)[source]

Convert UTC date/time to seconds since epoch (like mktime but for UTC).

Parameters:
  • year (int or float) – UTC components.

  • month (int or float) – UTC components.

  • day (int or float) – UTC components.

  • hour (int or float) – UTC components.

  • minute (int or float) – UTC components.

  • sec (int or float) – UTC components.

Returns:

Seconds since epoch.

Return type:

float