[thelist] CF date comparison problem

Chris Silwedel chris at thegrandsilentsystem.com
Fri Jan 12 22:15:31 CST 2001


ok, with jeffs help, this is the line of code for those who are interested
that fixed the problem... sorta...

show.showdate >= #CreateODBCDate(Now())#

now i'm presented with another problem, the site is currently hosted in the
US and the time zone difference is now causing problems.  jeff mentioned
that if i wanted the times to be localized to my timezone that i could set
it in my application and the cf engine will use that timezone to compare
dates. can anyone help me with that?

step by step he learns ;p

chris



on 13/1/01 12:03 PM, jeff at jeff at members.evolt.org wrote:

> chris,
> 
> :~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> : From: Chris Silwedel
> : 
> : > show.showdate >= DateFormat(Now())
> :~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> sorry, forgot the hashes around the cf function.  try this:
> 
> show.showdate >= #DateFormat(Now())#
> 
> or perhaps this:
> 
> show.showdate >= #CreateODBCDate(Now())#
> 
> good luck,
> 
> .jeff
> 
> name://jeff.howden
> game://web.development
> http://www.evolt.org/
> mailto:jeff at members.evolt.org
> 
> ---------------------------------------
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt !

-- 
THE GRAND SILENT SYSTEM
=======================

http://www.thegrandsilentsystem.com





More information about the thelist mailing list