Gossamer Forum
Home : General : Internet Technologies :

Re: [Andy] Good sorting algorithm...

Quote Reply
Re: [Andy] Good sorting algorithm... In reply to
I'm not too sure on what you are having trouble with?

If you are just trying to work out a time difference then you can work out how many seconds are in a week and you know what the current time is using time() so just substract the timestamp of the record from the current time and see if its bigger or smaller than the number of seconds in a week.

Last edited by:

Paul: Feb 6, 2003, 4:16 AM
Subject Author Views Date
Thread Good sorting algorithm... Andy 6563 Feb 6, 2003, 4:13 AM
Thread Re: [Andy] Good sorting algorithm...
Paul 6221 Feb 6, 2003, 4:15 AM
Thread Re: [Paul] Good sorting algorithm...
Andy 6248 Feb 6, 2003, 4:20 AM
Thread Re: [Andy] Good sorting algorithm...
Andy 6196 Feb 6, 2003, 5:01 AM
Thread Re: [Andy] Good sorting algorithm...
Paul 6150 Feb 6, 2003, 7:54 AM
Thread Re: [Paul] Good sorting algorithm...
Andy 6192 Feb 6, 2003, 8:05 AM
Thread Re: [Andy] Good sorting algorithm...
Paul 6148 Feb 6, 2003, 9:05 AM
Post Re: [Paul] Good sorting algorithm...
Andy 6154 Feb 6, 2003, 9:24 AM