A MappedDateTime wraps a java.util.Date, just like a MappedInt wraps an Int.
There is an implicit conversion that automatically turns MappedDateTime into a Date, or you can invoke it directly by using the "is" method. --j On Sat, Oct 4, 2008 at 1:47 PM, Charles F. Munat <[EMAIL PROTECTED]> wrote: > > If I have a MappedDateTime column in the database, how do I format the > date and/or time when it comes back from the database? There don't seem > to be any examples of this in the example sites. > > I have a dateFormatter, but it takes an instance of java.util.Date, I > think. How do I convert the date/time as output by the mapper into > something I can format? Did I miss this in the code somewhere? > > Thanks. > > Chas. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---