sreekusr Warnings : 1 New User
Joined: 28 Aug 2006 Posts: 54 Location: Madrid
|
|
|
|
Hi,
Following is the requirement.
I got one time stamp information '2009-04-20T12:33:33'
YYYY-MM-DDTHH:MM:SS
My requirement is to increment seconds (SS) by 1 Sec and
correspondingly all the other should be handled.
For Eg: if the timestamp is '2009-04-20T23:59:59'
And after incrementing the sec
the date should be displayed as '2009-04-21T00:00:00'
Please suggest me a logic to handle the Timestamp properly for all the Possible scenarios.
Thanks,
Sree |
|