Skip to main content
Known Participant
October 16, 2008
Question

Got it

  • October 16, 2008
  • 1 reply
  • 246 views
Got it
    This topic has been closed for replies.

    1 reply

    Inspiring
    October 16, 2008
    check out the dateAdd() function
    http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=functions_c-d_28.html

    to do time *before* a given time, just add a negative number (i.e. -24)

    Michael Evangelista, Evangelista Design
    Web : www.mredesign.com Blog : www.miuaiga.com
    Developer Newsgroups: news://forums.mredesign.com

    FlexyBoy wrote:
    > Hello,
    >
    > I have a particular timestamp value e.g '2008-10-16 11:10:00".
    >
    > I want to get the timestamp 24hrs before this time (note that this timestamp
    > value can change, so it should be dynamic).
    >
    > Anyone can give me an idea how to do this?
    >
    > Thx
    >