time() - to nearest half hour


I need to write a function that can return the number of seconds between present time and the nearest coming half hour.

For example: If the time is 22:12, I want the number of second to 22:30.

I didn't think this was hard, until i tried it... I just can't find an easy way to do this.
Posted On: Wednesday 24th of October 2012 12:32:21 AM Total Views:  378
View Complete with Replies

RELATED TOPICS OF PHP PROGRAMMING LANGUAGE




posting diifferent time zones

I want to post the date and time it is here (PMT) and the date and time in Austrailia (whatever that is) on the same page so you can see what the difference between the 2 are... any suggestions would be great.
VIEWS ON THIS POST

387

Posted on:

Wednesday 24th October 2012
View Replies!