Needed to do a date compare between a VB datestamp on our web front-end and a timestamp from our UNIX-based pbx. Here's a handy little function to convert a date to UNIX format:Function convertToUNIXtime (strTime)
if IsDate(strTime) = False then
vTemp = "Error: provided value not a valid date"
else
vTemp = DateDiff("s", "12/31/1969 00:00:00",
(
Read more... )