daily pastebin goal
50%
SHARE
TWEET

Untitled

a guest Jun 24th, 2018 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ' Parse a date in ISO 8601 "universal combined" format: YYYY-MM-DDTHH:MM:SSZ
  2. ' This function ALSO accepts SQL date format:  YYYY-MM-DD HH:MM:SS
  3. Function CDateFromUniversal( s )
  4.  
  5.     CDateFromUniversal = CDate(Mid(s, 1, 10) & " " & Mid(s, 12, 8))
  6.  
  7. End Function
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