devxlogo

March 10, 2000

Return Date Parts With VBScript

Browsers Targeted: Internet Explorer 4+ You can retrieve any component of a date (either as a string, a hash-delimited date expression, or a date object) with the DatePart() function in