Skip to main content
Participant
May 25, 2008
Question

CreateTimeSpan

  • May 25, 2008
  • 2 replies
  • 278 views
Hi there,

I am wondering whether it's possible to use the CreateTimeSpan(x,x,x,x) function by using just seconds. In other words, is it possible to use 3600 seconds instead of 1h ? I want to place a single application variable to globally control my cache.

so my question is, is CreateTimeSpan(0,0,0,3600) the same as CreateTimeSpan(0,1,0,0) ?

thanks!
George
    This topic has been closed for replies.

    2 replies

    Inspiring
    May 26, 2008
    > did you check the cfml reference?
    > what does it say about the units createtimespan() function returns?

    And what happened when you *tried it*? Did it work?

    --
    Adam
    Inspiring
    May 25, 2008
    did you check the cfml reference?
    what does it say about the units createtimespan() function returns?

    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com/