vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Dennis Handly <dhandly@convex.hp.com> writes: > mmccaws2 wrote: > >> is there a way of generating the date output similar to the format >> [year][month][day][24 hour][minute].[sec] + 30 sec. > > date +%Y%m%d%H%M.%S > You'll have to figure out how to add 30. perl -e 'print scalar(localtime(time + 30)), "\n"' or perl -e 'use POSIX; print scalar(strftime("%Y%m%d%H%M.%S", localtime(time + 30))), "\n"' Ulrich |
| Thread Tools | |
| Display Modes | |
| |