Java's date/time functionality is NOT at all intuitive -- especially to the
CF programmer.  If you are new to Java, don't be daunted if you have
problems with java dates.

Working with java date/time usually involves
1) instantiating a Calendar object that you use to store a date and to do
calendar arithmetic (see
http://java.sun.com/j2se/1.4/docs/api/java/util/Calendar.html)
and 
2) using date format classes (I really like SimpleDateFormat
http://java.sun.com/j2se/1.4/docs/api/java/text/SimpleDateFormat.html) for
presentation.  

If you want to be good at java as well as CF, make the effort to learn about
Calendar and Date objects without jumping right into using taglibs or
pre-written functions.

But if you're used to the ease of CF's dateFormat capabilities and you need
dates to work quickly - functions or taglibs are the way to go.  Has anyone
recommended any in particular to address CFMX needs?


Jevo


\
>> lsParseDateTime.. it can no longer
>> parse dates and times outside of a certain java format.
> 
> while i really ought to know these LS things (they've never supported any
> locales i work in so my knowledge is more theoritical than it should be), it
> might be easier to reformat the datetime to what java likes before passing it
> down the "hole" OR since java caused all your grief, might be some java
> functions/taglibs lying about to do this:
> 
> http://jakarta.apache.org/taglibs/doc/datetime-doc/index.html
> 
> http://oss.software.ibm.com/icu4j/
> 
______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to