anarchoi Posted February 6, 2008 Share Posted February 6, 2008 what numbers would be 2 months in unix timestamp ? thanks Link to comment https://forums.phpfreaks.com/topic/89727-simple-question-about-unix-time/ Share on other sites More sharing options...
revraz Posted February 6, 2008 Share Posted February 6, 2008 Unix time is based on seconds. Link to comment https://forums.phpfreaks.com/topic/89727-simple-question-about-unix-time/#findComment-459777 Share on other sites More sharing options...
haku Posted February 6, 2008 Share Posted February 6, 2008 Depends on the months - different months have different amounts of days. Basically it would be 60*60*24*59 (or 60 or 61 or 62, depending on the two months). Link to comment https://forums.phpfreaks.com/topic/89727-simple-question-about-unix-time/#findComment-459787 Share on other sites More sharing options...
Bauer418 Posted February 6, 2008 Share Posted February 6, 2008 You can use PHP's calendar functions to move ahead two actual months instead of just 30 days. Link to comment https://forums.phpfreaks.com/topic/89727-simple-question-about-unix-time/#findComment-459794 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.