Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Set dictDLSD = CreateObject("Scripting.Dictionary")
dictDLSD("2001") = Array("04/01/2001 02:00:00", "10/28/2001 02:00:00")
dictDLSD("2002") = Array("04/07/2002 02:00:00", "10/27/2002 02:00:00")
dictDLSD("2003") = Array("04/06/2003 02:00:00", "10/26/2003 02:00:00")
dictDLSD("2004") = Array("04/04/2004 02:00:00", "10/31/2004 02:00:00")
dictDLSD("2005") = Array("04/03/2005 02:00:00", "10/30/2005 02:00:00")
dictDLSD("2006") = Array("04/02/2006 02:00:00", "10/29/2006 02:00:00")
dictDLSD("2007") = Array("03/11/2007 02:00:00", "11/04/2007 02:00:00")
dictDLSD("2008") = Array("03/09/2008 02:00:00", "11/02/2008 02:00:00")
dictDLSD("2009") = Array("03/08/2009 02:00:00", "11/01/2009 02:00:00")
dictDLSD("2010") = Array("03/14/2010 02:00:00", "11/07/2010 02:00:00")
dictDLSD("2011") = Array("03/13/2011 02:00:00", "11/06/2011 02:00:00")
baseDate = #1-Jan-1970#
dateToConvert = 1095463656.792
myDate = DateAdd ("s",dateToConvert - (8 * 60 * 60),baseDate)
MsgBox DateAdd("h", ChkForDLST(myDate),myDate)
Function ChkForDLST(vTimeToCheck)
vMyTest = Year(vTimeToCheck)
If DateValue(vTimeToCheck) > DateValue(dictDLSD (CStr(vMyTest))(0)) And DateValue(vTimeToCheck) < DateValue(dictDLSD (CStr(vMyTest))(1)) Then
ChkForDLST = 1
Else
ChkForDLST = 0
End If
End Function