[thelist] Getting the US date using VBScript....
Chris W. Parker
cparker at swatgear.com
Fri Sep 6 16:50:01 CDT 2002
> -----Original Message-----
> From: Thomas Granger - TK - Filter [mailto:java_fella at yahoo.com]
> Sent: Friday, September 06, 2002 2:44 PM
> I need to be able to get the US format date in client
> side script on a non us client with VB Scrip.
> Thoughts? Clever ways of doing this client-side?
you could get the day, month, and year separately and then parse them
together in whatever format you want.
txtDay = Day(Date())
txtMonth = Month(Date())
txtYear = Year(Date())
myDate = txtMonth & "/" & txtDay & "/" & txtYear
that of course would be a basic example.
chris.
p.s. this works on the server, so i'm going to to assume it works on the
client.
More information about the thelist
mailing list