hugme: (Default)
[personal profile] hugme
I had to send some log files off to someone who doesn't know anything about Unix or the way dates work. all of the dates in the log file were in epoch time. to make it easy I wrote a CGI shell script to make it easy for her to convert dates back and forth between epoch time and a real understandable time.

you will notice that it's all pull down menu's, in working with end users for so long I thought this would be the easiest way to make it idiot proof. they can't put too many numbers into the year or the day 32 or misspell the month. you can however ask for February the 31st... it's not perfect but pretty good for an ho
ur of work.

here is the code:
http://www.hugme.org/freebsd/scripts/date.txt
you can run it here:
http://www.hugme.org/cgi-bin/date.cgi
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

hugme: (Default)
hugme

April 2011

S M T W T F S
     12
3456789
10111213141516
17 181920212223
24252627282930

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Apr. 10th, 2026 10:29 pm
Powered by Dreamwidth Studios