Normal Topic Working out the days remaing. (Read 424 times)
drastixnz
Full Member
***
Offline


A Newbie....

Posts: 146
Location: New Zealand
Joined: Nov 29th, 2006
Working out the days remaing.
Aug 20th, 2007 at 4:30am
Print Post Print Post  
I have two fields both of them contain a date, how do i work out the days from one date to another?  Undecided
  
Back to top
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: Working out the days remaing.
Reply #1 - Aug 20th, 2007 at 11:11am
Print Post Print Post  
drastixnz wrote on Aug 20th, 2007 at 4:30am:
I have two fields both of them contain a date, how do i work out the days from one date to another?  Undecided


DaysBetween = @ToNumber(Date1) - @ToNumber(Date2)
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged
 
drastixnz
Full Member
***
Offline


A Newbie....

Posts: 146
Location: New Zealand
Joined: Nov 29th, 2006
Re: Working out the days remaing.
Reply #2 - Aug 20th, 2007 at 10:43pm
Print Post Print Post  
Thanks Hammer once again.
  
Back to top
IP Logged