Back to OASIS4 home

module prism_calendar : gathers all the routines concerning the date (in julian or not))

Routine psmile_date2ju(date, julian_day, julian_seconds)

date = in
julian_day, julian_seconds = out

Transformation of the date in julian which is an universal time.
Each date is transformed into a new time based on two parts both given in seconds : the julian days and the julian seconds.

Routine psmile_ju2date(date, julian_day, julian_seconds)

julian_day, julian_seconds = in
date = out

Inverse transformation.