Posted by Zilla on 02/13/06 23:21
KoRnDragon wrote:
> Does anyone know of a script that translates time stamps to look like
> those used by Gmail? (ie. 2 days ago/ 15 minutes ago etc.)
>
With time() you can get the current timestamp and then you can calculate
the difference in minutes or days or weeks etc.
Zilla.
Navigation:
[Reply to this message]
|