Re: Date Format
- From: "Pegasus \(MVP\)" <I.can@xxxxxxx>
- Date: Fri, 7 Apr 2006 17:46:26 +1000
"Alan" <Alan@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:B7B85303-960B-4BDC-985A-592E81FE1563@xxxxxxxxxxxxxxxx
I am using the "day of the week" for back up reasons. On all the systemsI
work with, I have no problem except one. In all cases (except the rogueresult
system), if at the Dos prompt I issue the command date /t I get the
of the day and the date eg. Fri 04/07/2006, but on the rogue system I getfor
the result of date only eg. 04/06/2006 with no mention of the day of the
week. I have checked the environmental variables but can find no reason
this difference. I might add that the rogue system acts as a Oracle(set
"server". I am wondering if there may be something in the Oracle setup
up by the software people) that is not visible to me.procedure
Thus I am not able to use the day of the week as part of my backup
on the rogue system.
It's probably set somewhere in the Regional Options.
However, the overall issue is that the %date% variable
(which yields the same output as date /t) is a fragile thing
that should be avoided in robust applications. Much
better to use now.exe (Technical Resource Kit). It
generates a date/time output in a fixed format, much
like Unix-based systems.
.
- Prev by Date: Re: I'm Back!!!!!!!!!!!!
- Next by Date: Can I access the file name selected by explorer
- Previous by thread: Re: Temp files will not delete
- Next by thread: Can I access the file name selected by explorer
- Index(es):
Relevant Pages
|