#73047 - 2003-02-13 12:25 AM
Find the number of days between 2 dates
|
toys4x4boys
Lurker
Registered: 2003-02-12
Posts: 2
Loc: Merseyside, UK
|
We use Kixtart 4.11 as part of out login script, one of the functions is to check the virus definitions dates to see of they are over 30 days old.
If they are it sends a mail to the helpdesk.
What I need is a way to find the number of days between two dates.
During my search I found this snippet,
$difference=JulianDate(@date)-JulianDate($defdate)
but there is not this feature in 4.11 , or at least not that I can find.
So whats the easiest way to find the number of days between 2 given dates ?
Def Date : 2003/02/05 Client Date : 2003/02/12
|
|
Top
|
|
|
|
Moderator: Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart
|
0 registered
and 2220 anonymous users online.
|
|
|