Time Zone Issue Using Custom Date Formats

Post any Bulk Rename Command support requirements here. Open to all registered users.

Time Zone Issue Using Custom Date Formats

Postby kbrinnehl » Mon Jan 24, 2011 8:08 pm

I've seen a couple of similar posts but I haven't seen any answers so I figured I would throw this one out here again.

When using custom date formatting, it appears that the utility is converting the local time to GMT time.

For example, this command when run at 10:00AM CST:

brc32.exe /DIR:"c:\test\" /PATTERN:"test.txt" /FIXEDNAME:"test_" /APPENDDATE:N:S:::10:%Y%m%d%-H%M /EXECUTE

will result in this file name: test_20110124-1600.txt

On a similar example, this command when run at 10:00PM CST:

brc32.exe /DIR:"c:\test\" /PATTERN:"test.txt" /FIXEDNAME:"test_" /APPENDDATE:N:S:::10:%Y%m%d% /EXECUTE

will result in this file name: test_20110125.txt (the date is now the 25th instead of the 24th).

Has anyone else encountered this or devised a solution around this behavior?
kbrinnehl
 
Posts: 1
Joined: Mon Jan 24, 2011 8:00 pm

Return to BRC Support