Yes, Paul, it's your timezone.cfc    - piece of excellent programming to if
i might say so.

The cfc is dated 11-sep-2003.  I hope it's the current version.

It's invoked in the Applicatoin.cfc as follows:

<cfscript>
 timezone = createObject("component","cfcs.timezone");
  nowuts =#timezone.GetNISTTime()#;
</cfscript>

Does that help you?

Cheers
Mike Kear
Windsor, NSW, Australia
Certified Advanced ColdFusion Developer
AFP Webworks
http://afpwebworks.com
ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month



On 5/25/06, Paul Hastings <[EMAIL PROTECTED]> wrote:
>
> Mike Kear wrote:
> > I am using the Timezone.cfc to go to a time server and pick up the
> current
>
> i'm guessing that's not *my* timezone cfc? any info about that CFC & which
> timeserver it's hitting?
>
> > #dateformat(nowuts.now, "d/m/yyyy")#   gives this:    25/5/0006
> > Then if I paste the text value of the nowuts.now value into the
> dateformat,
> > now it gives the correct year.   i.e.
>
> i think cf does some magic w/the datetime values (as its a cf epoch but
> can be
> treated like a core java date). what that thing is returning maybe doesn't
> fit
> into what cf's doing. or you're simply got something else going on.
>
>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241422
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to