L. D. James
2005-04-13 19:18:27 UTC
Hi Gang. I have two times in the format of:
20050413185947
20050413175146
It is broken down as, year, month, day, hour, minute and second.
2005-0413-1751-46
I would like to subtract the smaller number from the larger number. I
guess if I had an easy way to set both numbers in to seconds, that then
subtract, then convert them back to year, month, day, etc. such would work.
I'm familiar with the localtime(time) function. Is there a way to
enter the split time into a function that will give you the big number of
the time function? If I could get both numbers into a single number, then
subtract the numbers, this would be ideal.
Thanks in advance for any comments on this matter.
-- L. James
20050413185947
20050413175146
It is broken down as, year, month, day, hour, minute and second.
2005-0413-1751-46
I would like to subtract the smaller number from the larger number. I
guess if I had an easy way to set both numbers in to seconds, that then
subtract, then convert them back to year, month, day, etc. such would work.
I'm familiar with the localtime(time) function. Is there a way to
enter the split time into a function that will give you the big number of
the time function? If I could get both numbers into a single number, then
subtract the numbers, this would be ideal.
Thanks in advance for any comments on this matter.
-- L. James
--
--------------------------------
L. D. James
***@apollo3.com
www.apollo3.com/~ljames
--------------------------------
L. D. James
***@apollo3.com
www.apollo3.com/~ljames