Next: , Previous: , Up: srfi time spec   [Index]


2.11.3.6 Time/Date/Julian Day/Modified Julian Day Converters

From date to Julian Day

Function: date->julian-day date

Convert date to Julian Day.

Function: date->modified-julian-day date

Convert date to Modified Julian Day.

From date to time

Function: date->time-monotonic date

Convert date to monotonic time.

Function: date->time-tai date

Convert date to TAI time.

Function: date->time-utc date

Convert date to UTC time.

From Julian Day to date

Function: julian-day->date jd
Function: julian-day->date jd tz-offset

Convert a Julian Day to a date, using a time zone offset, which defaults to the local time zone.

Function: julian-day->time-monotonic jd

Convert a Julian Day to monotonic time.

Function: julian-day->time-tai jd

Convert a Julian Day to TAI time.

Function: julian-day->time-utc jd

Convert a Julian Day to UTC time.

From Modified Julian Day to date

Function: modified-julian-day->date mjd
Function: modified-julian-day->date mjd tz-offset

Convert a Modified Julian Day to adate, using a time zone offset, which defaults to the local time zone.

From Modified Julian Day to time

Function: modified-julian-day->time-monotonic mjd

Convert Modified Julian Day to monotonic time.

Function: modified-julian-day->time-tai mjd

Convert a Modified Julian Day to TAI time.

Function: modified-julian-day->time-utc mjd

Convert Modified Julian Day to UTC time.

From monotonic time to anything

Function: time-monotonic->date time
Function: time-monotonic->date time tz-offset

Convert monotonic time to date, using time zone offset, which defaults to the local time zone.

Function: time-monotonic->julian-day time

Convert monotonic time to Julian Day.

Function: time-monotonic->modified-julian-day time

Convert monotonic time to Modified Julian Day.

Function: time-monotonic->time-tai time

Convert monotonic time to TAI time.

Function: time-monotonic->time-tai! time

Convert monotonic time to TAI time. The time structure may be reused.

Function: time-monotonic->time-utc time

Convert monotonic time to UTC time.

Function: time-monotonic->time-utc! time

Convert monotonic time to UTC time. The time structure may be reused.

From TAI time to anything

Function: time-tai->date time
Function: time-tai->date time tz-offset

Convert TAI time to date, using time zone offset, which defaults to the local time zone.

Function: time-tai->julian-day time

Convert TAI time to Julian Day.

Function: time-tai->modified-julian-day time

Convert TAI time to Modified Julian Day.

Function: time-tai->time-monotonic time

Convert TAI time to monotonic time.

Function: time-tai->time-monotonic! time

Convert TAI time to monotonic time. The time structure may be reused.

Function: time-tai->time-utc time

Convert TAI time to monotonic time.

Function: time-tai->time-utc! time

Convert TAI time to monotonic time. The time structure may be reused.

From UTC time to anything

Function: time-utc->date time-utc
Function: time-utc->date time-utc tz-offset

Convert UTC time to date, using time zone offset, which defaults to the local time zone.

Function: time-utc->julian-day time

Convert UTC time to Julian Day.

Function: time-utc->modified-julian-day time

Convert UTC time to Modified Julian Day.

Function: time-utc->time-monotonic time

Convert UTC time to monotonic time.

Function: time-utc->time-monotonic! time

Convert UTC time to monotonic time. The time structure may be reused.

Function: time-utc->time-tai time

Convert UTC time to TAI time.

Function: time-utc->time-tai! time

Convert UTC time to TAI time. The time structure may be reused.


Next: , Previous: , Up: srfi time spec   [Index]