redarrow Posted March 17, 2007 Share Posted March 17, 2007 advance thank you. i would like someone to teach me properly how this time thing works example. what does each segment of the numbers mean? what is the format of the segment of numbers? Thank you i really need to learn this as it is so inportant in the php programming world cheers. ps. got loads of books and used google all yesterday no clue still. put your example please in easy terms cheers. 7 * 24 * 60 * 60 Link to comment https://forums.phpfreaks.com/topic/43127-please-exsplain-the-timstamp-segment-of-numbers-cheers/ Share on other sites More sharing options...
shaunrigby Posted March 17, 2007 Share Posted March 17, 2007 That works out how may seconds in a week(i think), 7 days * 24 hours * 60 minutes * 60 seconds ( Link to comment https://forums.phpfreaks.com/topic/43127-please-exsplain-the-timstamp-segment-of-numbers-cheers/#findComment-209447 Share on other sites More sharing options...
redarrow Posted March 17, 2007 Author Share Posted March 17, 2007 can you kindly give an example how you come to your conclusion to set it in any way? Link to comment https://forums.phpfreaks.com/topic/43127-please-exsplain-the-timstamp-segment-of-numbers-cheers/#findComment-209450 Share on other sites More sharing options...
fert Posted March 17, 2007 Share Posted March 17, 2007 I believe that a timestamp holds how many seconds have passed since the unix epoch which I believe was January 1st, 1970 Link to comment https://forums.phpfreaks.com/topic/43127-please-exsplain-the-timstamp-segment-of-numbers-cheers/#findComment-209451 Share on other sites More sharing options...
redarrow Posted March 17, 2007 Author Share Posted March 17, 2007 86.400 is a whole day in seconds so how do you set the segments of the code to the whole day. Link to comment https://forums.phpfreaks.com/topic/43127-please-exsplain-the-timstamp-segment-of-numbers-cheers/#findComment-209453 Share on other sites More sharing options...
redarrow Posted March 17, 2007 Author Share Posted March 17, 2007 60*60*60*24 60* <<minutes 60* <<hours 60* << seconds 24 << day is that right who now's i want to no lol Link to comment https://forums.phpfreaks.com/topic/43127-please-exsplain-the-timstamp-segment-of-numbers-cheers/#findComment-209455 Share on other sites More sharing options...
redarrow Posted March 17, 2007 Author Share Posted March 17, 2007 got it i think. 1* <<day 60* << minutes 60* << seconds 24 << how meny hours in a day is that correct print's in google correctly. Link to comment https://forums.phpfreaks.com/topic/43127-please-exsplain-the-timstamp-segment-of-numbers-cheers/#findComment-209457 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.