Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Date to Unix TimestampContent of Date to Unix Timestamp.vbsMD5 Hash: CBD525304CDB214BDBDA3E9877665D05 |
||
'#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#'
'/| |\\\\\\\\' '//| |\\\\\\\' '///| |\\\\\\' '////| Version 1.0.0 |\\\\\' '/////| Author: Boris TOll |\\\\' '//////| Last Update: 31.01.2008 |\\\' '///////| |\\' '////////| |\' '#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#' msgbox GetUnixTimeStamp("21.07.2007") msgbox GetUnixTimeStamp("21.07.2007 00:00:01") ' ---------------------------------------- [Wandelt einen Date/Time-Wert in eine UnixTimeStamp um] Private Function GetUnixTimeStamp(strDate) Const cUnix = #1/1/1970# Dim nTime : nTime = DateAdd("n", 0, strDate) GetUnixTimeStamp = DateDiff("s", cUnix, nTime) End Function | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |