Hello, everybody.
HLDate new version (1.0.2) has some major additions.
Now it can output not only current date-time or some
given date-time value but also filetime of given file
or folder, or last write time of a registry key, or
just a given count of seconds, minutes, hours, or days.
As an alternative to formatted output it can now output
the date-time value as an integer number representing
time interval in seconds, minutes, hours, or days.
HLDate is freeware and its executable can be
redistributed along with your own scripting solution.
Thank you for your attention.
Download URL (40Kb):
http://www.verzend.be/v/8676019/HLDate_1.0.2.zip.html
Also you can download HLDate from:
http://www.jsifaq.com/SF/Tips/Tip.aspx?id=10932
~~
HLDate [formatstring|/Tx] [/U] [/FD:value] [/FW:value] [/L:value]
[/D:value|/J:value|/Ax:value|/Nx:file|/K:regkey] [/R] [/HIJRI]
formatstr - Common VBA syntax. Examples: "d, dddd - hh:nn", "0.000000"
/U(tc) - Returns UTC instead of local time (ignored with /D, /J,or /Ax)
/FD:value - First-day-of-week mode (0 - system default, 1 - 7)
/FW:value - First-week-of-year mode (0 - system default, 1 - 3)
/D:value - Accepts given date to be formatted instead of current date
Example: /D:"2005-04-03 02:01"
/J:value - Accepts given date as a "Julian day". Example: /J:38445.08403
/Nx:file - Returns file or directory time (use /NM, /NC, or /NA)
/K:regkey - Returns registry key last write time ("[\\Host\]Hive\Path")
/Tx - Returns interval since 1980-01-01 (use /TD, /TH, /TN, /TS)
/Ax:value - Accepts interval since 1980-01-01 (use /AD, /AH, /AN, /AS)
/L:value - Formats and recognizes date according to LocaleID specified.
/R - Tries to recognize input in alt. locale (for /D, /J, or /Ax)
/HIJRI - Alternates calendar
/EM:anytext - Accepts error mark string
~~
"Eman" <e!m!a!(E-Mail Removed)> ???????/???????? ? ???????? ?????????:
news:ejoc4f$12ts$(E-Mail Removed)...
> Hello, everybody.
>
> Value of some date / time is often used in WinNT batch
> scripting typically to create a names of log files,
> backup archives, and likewise. There are standard Windows
> commands, such as "date" and "time" but their output is
> locale dependent so that it's difficult to create
> universal batch-scripting solutions. This freeware utility
> will give you a way to do that with simple user friendly
> commandline interface.
[..]
> "Eman" <e!m!a!(E-Mail Removed)> ???????/???????? ? ???????? ?????????:
> news:ehf92q$bee$(E-Mail Removed)...
>> Hello, everybody.
>>
>> Since questions about date and time in batch scripts
>> appear to be regular in the newsgroups, i've created a tiny
>> console utility just for that purpose. I've named it HLDate.
>> It's freeware. I hope it could help someone.
>>
>> All what it does is, it outputs formatted date and/or time
>> to the stdout. You can use any custom date-time format specification. The
>> program can output current date-time or a specified date-time value.
>> There are also other features.
>
> [..]
>
>> HLDate is designed to operate under Windows NT platform only.
>> That means you can run it under Windows NT / 2000 / XP / ..
>> but you can't run it on Windows 95 / 98, or Windows Me.
>