Convert a DateTime string to a Unix timestamp in VbScript / Classic ASP
posted in: Classic ASP, Database, MS Access, MSSQL, MySQL, Programming, String Manipulation Algorithms, VB.Net, VBScript
3
To convert a datetime string value like “YYYY-MM-DD HH:MM:SS” to a Unix timestamp (the seconds from 01/01/1970 to the input datetime) You can use a conversion function as the following: Then, to get back the datetime from the Unix timestamp … Read More