DOFFPrints a formatted date and time, with an optional date offset | |
Download |
DOFF Ranking & Summary
Advertisement
- License:
- Freeware
- Publisher Name:
- John Fitzgibbon
- Operating Systems:
- Windows All
- File Size:
- 14 KB
DOFF Tags
- print time date Offset time offset eliminate offset offset image Date and Time Date Difference Hijiri date Offset font date atributes date to name Time and Date discordian date Date Generator print date date offset print time get date calculate offset keep date offset control tell time and date reccuring date Recognize date Date entered Date time first date up to date by date
DOFF Description
The DOFF application was designed to be a small command line tool that prints a formatted date and time, with an optional date offset, (e.g -1 prints yesterday's date, +1 prints tomorrow's date). To view all the options available, execute "doff -h". I typically use this utility for renaming log files so that they include a timestamp, (see the third example below). Sample commands: C:>doff 19991108131135 With no parameters the output is the current date/time in the following format: yyyymmddhhmiss C:>doff mm/dd/yyyy 11/08/1999 In the above example a date format specification is given. @echo off for /f "tokens=1-3 delims=/ " %%a in ('doff mm/dd/yyyy -1') do ( set mm=%%a set dd=%%b set yyyy=%%c) rename httpd-access.log httpd-access-%yyyy%%mm%
DOFF Related Software