質問
Get current date & time independent of server
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.
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.