Skip to main content
September 25, 2008
Question

Get current date & time independent of server

  • September 25, 2008
  • 2 replies
  • 444 views
Recently I have spent quite a bit of time getting an authorize.net gateway function to work correctly with ColdFusion. This process requires the ColdFusion variable for date and time to be within 15 minutes of the authorize.net server in doing a special access formula.

Since our server may drift off more than 15 minutes from GMT actual time, does anyone know of a custom tag or some means (code example) of getting an accurate date and time from some server that would be accurate other than reading the date and time from the ColdFusion server itself?

Want to get those values at the time of a form post and be accurate within a matter of seconds to actual world time.

Any help much appreciated. Thanks.
    This topic has been closed for replies.

    2 replies

    Inspiring
    September 26, 2008
    LarsOnline wrote:
    > Since our server may drift off more than 15 minutes from GMT actual time, does

    this is bad at several levels. you're better off setting your server's time &
    keep it synched with something official.

    http://support.ntp.org/bin/view/Servers/WebHome#Finding_A_Time_Server
    http://tf.nist.gov/service/time-servers.html
    http://time.nist.gov/

    or just google....
    Inspiring
    September 25, 2008
    I googled "utc web service" and got all sorts of promising offerings.