How to get the first second of a given Day.
[email protected] (Deviloper)
| Newsgroups | perl.datetime |
|---|---|
| Message-ID | <643713215.63956.1235124263699.JavaMail.open-xchange@oxgw00.kundenserver.de> |
Hello there! I have a question, regarding date calculation. I need to know the timestamp of the first (and last) second of a given day. For Example: I have the Date 12, 25th, 2008. But I want to know the unixtimestamp of 0:00:00 12, 25th, 2008 and 23:59:59 of 12,25th,2008. Because of shift seconds this is not so easy as I thought. Thanks for your help, Bo