SHARE
TWEET

Untitled

a guest May 23rd, 2019 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. % The below returns the unix epoch in UTC/GMT because of adding tm_struct.gmtoff
  2. tm_struct = strptime ('01-Jan-2001 00:00:00.0', "%d-%b-%Y %X.0 %Z"), mktime (tm_struct) + tm_struct.gmtoff
  3. tm_struct =
  4.  
  5.   scalar structure containing the fields:
  6.  
  7.     usec = 0
  8.     sec = 0
  9.     min = 0
  10.     hour = 0
  11.     mday =  1
  12.     mon = 0
  13.     year =  101
  14.     wday =  1
  15.     yday = 0
  16.     isdst = 0
  17.     gmtoff = -18000
  18.     zone = EST
  19.  
  20. ans =  978307200
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top