Loading
Scriptbox
 VBScript Links 
 About VBscript 
 JavaScript Links 
 About JavaScript 
 Powershell Links 
 PSCRIPT the Script Launcher 
 PowerShell Shortcut Keys 
 About Powershell 
     VBScript
    JavaScript
    Powershell
Disclaimer
Contact
Latest 10 Scripts
Script search
  :: { Category } :: 0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ
         

Search Options:  Date  to  Unix  Timestamp  

 Content of Date to Unix Timestamp.vbs
MD5 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 ::
  Google Entries:n/a
  Yahoo Backlinks:n/a
  Live Backlinks:n/a
  del.icio.us Bookmarks:n/a
  Technorati Links:n/a