Connecting Tech Pros Worldwide Help | Site Map

rendered date

  #1  
Old December 31st, 2005, 01:05 AM
Bill
Guest
 
Posts: n/a
Is there some sort of formula that anyone knows of that it if provied
it was a date it will tell me was the date was a number of days before
it.

Ex.. Say i put in a 12/29/2005 as a starting point and I want to know
what the date was 90 days ago....

  #2  
Old December 31st, 2005, 01:15 AM
Rick Brandt
Guest
 
Posts: n/a

re: rendered date


Bill wrote:[color=blue]
> Is there some sort of formula that anyone knows of that it if provied
> it was a date it will tell me was the date was a number of days before
> it.
>
> Ex.. Say i put in a 12/29/2005 as a starting point and I want to know
> what the date was 90 days ago....[/color]

=DateAdd("d", -90, YourDate)

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com


  #3  
Old December 31st, 2005, 01:15 AM
salad
Guest
 
Posts: n/a

re: rendered date


Bill wrote:[color=blue]
> Is there some sort of formula that anyone knows of that it if provied
> it was a date it will tell me was the date was a number of days before
> it.
>
> Ex.. Say i put in a 12/29/2005 as a starting point and I want to know
> what the date was 90 days ago....
>[/color]
Yeah. It's called DateAdd. You can even subtract time periods from it.

If you want to find time differences between dates, try DateDiff
Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
JavaScript to Enter Date & Null Bob Sanderson answers 3 April 17th, 2007 08:45 PM
Convert to local date/time when page is rendered? Randall Parker answers 0 December 15th, 2005 03:45 AM
ASP/DataGrid/BoundColumn/Data formatting expression fo Date? Volodymyr Lozovoy answers 7 November 19th, 2005 12:35 AM
DB caching the html rendered by a .aspx page Jon Maz answers 10 November 18th, 2005 04:51 AM