DateSerial

The equivalent of DateSerial in Classic ASP

Function DateSerial(ofDate)
 ' DateSerial = Date - CDate("January 1, 1900") + 1
 DateSerial = Date - CDate(ofDate) + 1
End Function

Parameters

ofDate

Views 171 Downloads 68

Perm link