- millis
- the time in UTC milliseconds
- gmtoff
- the offset from UTC in seconds
Documentation for this section has not yet been entered.
Computes the Julian day number for a point in time in a particular timezone. The Julian day for a given date is the same for every timezone. For example, the Julian day for July 1, 2008 is 2454649.
Callers must pass the time in UTC millisecond (as can be returned by Time.ToMillis(bool) or Time.Normalize(bool)) and the offset from UTC of the timezone in seconds (as might be in Time.Gmtoff).
The Julian day is useful for testing if two events occur on the same calendar date and for determining the relative time of an event from the present ("yesterday", "3 days ago", etc.).