Hello All,
I have what I think is an easy question, I just haven't been able to figure it out. I'm trying to get the pc to echo the date format a certain way and haven't been able to figure it out
when I run this code :
currdate = year(date) & "/" & month(date) & "/" & day(date)
wscript.echo currdate
this is returned: 2005/8/11
but I need it to return 2005/08/11. Does anyone have any ideas ? Thanks in advance
I have what I think is an easy question, I just haven't been able to figure it out. I'm trying to get the pc to echo the date format a certain way and haven't been able to figure it out
when I run this code :
currdate = year(date) & "/" & month(date) & "/" & day(date)
wscript.echo currdate
this is returned: 2005/8/11
but I need it to return 2005/08/11. Does anyone have any ideas ? Thanks in advance