Re: Comparing time in Linux
In article <1135308497.668323.157630@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
Binary <binary.chen@xxxxxxxxx> wrote:
:Hi,
:
:Any command or script to compare the date/time in Linux? I want to know
:a date is later or ealier than another. Such as 2005/10/10 >
:2004/11/21?
If you're doing this from the command line, you can compare the results
from `date -d "some date string" +%s` for any date format that 'date'
can recognize. In the year 2038 that signed 32-bit seconds counter
overflows, though.
--
Bob Nichols AT comcast.net I am "RNichols42"
.
Relevant Pages
- Re: mod_rexx vs. mod_php performance
... |%> slow if compared to php), ... | If you want to compare performance, ... | the time it starts executing, and finishing after it finishes executing. ... |% gets issued to the current command environment as a command. ... (comp.lang.rexx) - Re: How to log resources utilized by single program in Linux?
... timecommand seems to be partially broken on newer systems. ... Last time I looked at it, only the timing and page fault information is filled in by the kernel. ... An alternative might be to look at the number of page faults from each process and compare between both processes. ... This is an interactive program that shows you the memory usage of each process. ... (comp.os.linux.development.apps) - I dont understand the usage of lsort -command?
... The following are extracted from the manpage of lsort: ... -command command Use command as a comparison command. ... set res [string compare $alast $blast] ... lsort -command NameCompare $list ... (comp.lang.tcl) - RE: compare documents side by side
... but the command for side-by-side is not showing up. ... > to view one doc in a window next to a second doc in a second window. ... > There is also a feature in the Tools menu named 'Compare and Merge ... In order to comare rather than merge you must put a check in the ... (microsoft.public.word.docmanagement) - Re: Problem unzipping files on external HD
... >> If you suspect a faulty data path then you should compare ... > longer list than the buffer in command prompt (I scroll up and can't see ... > But I assume we're comparing file content, not storage on disk. ... being true copies of the originals. ... (microsoft.public.windowsxp.general) |
|