-
Notifications
You must be signed in to change notification settings - Fork 0
cAbsoluteTime
Ben Izd edited this page Jan 16, 2022
·
2 revisions
Current offset from 1900-1-1
in your TimeZone
:
cAbsoluteTime[]
(* Out: 3851362121.497802 *)
Current offset from 1900-1-1
with custom TimeZone
:
cAbsoluteTime[TimeZone -> 2]
(* Out: 3851356765.468515 *)
Offset for for a DateList
with default TimeZone
:
cAbsoluteTime[{2021, 2, 3}]
(* Out: 3821299200 *)
Offset for for a DateList
with custom TimeZone
:
cAbsoluteTime[{2021, 2, 3}, TimeZone -> 2]
(* Out: 3821293800 *)
Also supports Calendar
:
cAbsoluteTime[{1404, 1, 1}, CalendarType -> "ArithmeticPersian"]
(* Out: 3951417600 *)
cAbsoluteTime[{1404, 1, 1}, CalendarType -> "ArithmeticPersian", Method -> "Cycle-2820-2"]
(* Out: 3951504000 *)
My system TimeZone
is +3.5
.
Normal Functions (Pure Wolfram-Language):
Low-Level Functions (via LibraryLink
):