Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- % The below returns the unix epoch in UTC/GMT because of adding tm_struct.gmtoff
- tm_struct = strptime ('01-Jan-2001 00:00:00.0', "%d-%b-%Y %X.0 %Z"), mktime (tm_struct) + tm_struct.gmtoff
- tm_struct =
- scalar structure containing the fields:
- usec = 0
- sec = 0
- min = 0
- hour = 0
- mday = 1
- mon = 0
- year = 101
- wday = 1
- yday = 0
- isdst = 0
- gmtoff = -18000
- zone = EST
- ans = 978307200
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement