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 6609 Feb 6, 2003, 4:13 AM
Thread Re: [Andy] Good sorting algorithm...
Paul 6267 Feb 6, 2003, 4:15 AM
Thread Re: [Paul] Good sorting algorithm...
Andy 6295 Feb 6, 2003, 4:20 AM
Thread Re: [Andy] Good sorting algorithm...
Andy 6241 Feb 6, 2003, 5:01 AM
Thread Re: [Andy] Good sorting algorithm...
Paul 6196 Feb 6, 2003, 7:54 AM
Thread Re: [Paul] Good sorting algorithm...
Andy 6238 Feb 6, 2003, 8:05 AM
Thread Re: [Andy] Good sorting algorithm...
Paul 6194 Feb 6, 2003, 9:05 AM
Post Re: [Paul] Good sorting algorithm...
Andy 6199 Feb 6, 2003, 9:24 AM