| ??? 09/06/12 10:56 Read: times |
#188251 - ?back conversion Responding to: ???'s previous message |
i'm not sure what will be back conversion from long int to string, but have sone suspicions -
In line: iday = 365 * ( year - 1970) + DMonth[month] + ( day-1); // days since 1/1/1970 multiplyer should be 366 , instead 365. Probably this is not UNIX-compatible , but more precies, i think. |
| Topic | Author | Date |
| Error in conversion from Unix EPOCH | 01/01/70 00:00 | |
| zero | 01/01/70 00:00 | |
| DMonth[month-1] ???? | 01/01/70 00:00 | |
| Stefan is correct and... | 01/01/70 00:00 | |
| +4 - 100 + 400 | 01/01/70 00:00 | |
| right, but... | 01/01/70 00:00 | |
| 88 years is a long time | 01/01/70 00:00 | |
| That is what they said in the 60's | 01/01/70 00:00 | |
| Thanks. Problem solved | 01/01/70 00:00 | |
| Cross-checking important | 01/01/70 00:00 | |
| Just a foot note about the year | 01/01/70 00:00 | |
| ?back conversion | 01/01/70 00:00 | |
| No - multiplier should not be 366 | 01/01/70 00:00 | |
| Running out of seconds > 1970 | 01/01/70 00:00 | |
| signed is actually common - to support dates before 1970 | 01/01/70 00:00 | |
| Will You Now. | 01/01/70 00:00 | |
| Have you considered leap seconds? | 01/01/70 00:00 | |
| Leap seconds can almost always be ignored | 01/01/70 00:00 | |
| Time is passing anyway or is it just an illusion? | 01/01/70 00:00 | |
| Missiles? Leap seconds contra way larger drift... | 01/01/70 00:00 | |
| No such thing as a free lunch! | 01/01/70 00:00 | |
Link? | 01/01/70 00:00 |



