• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How to use dates
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to use dates


  • Subject: How to use dates
  • From: Daniel Mejia <email@hidden>
  • Date: Fri, 13 May 2011 18:48:37 -0500

Hi there,

I need help with a problem with the Date type.

The problem happens when I type de date 1920-dec-31in a field defined as date in a edit page of Modern D2W application. After saving the page the date is displayed as 1920-dec-30. The same happens for all the years before 1921, but for years after 1921 I get the correct date after saving the page.

In the database, the column is defined as DATE in MySQL.
In the modeller it is defined using the prototype "date", DataType:Date, External Type: DATE, Class: com.webobjects.foundation.NSTimeststamp.

What I'm doing wrong with the use of date type?. I only need to store dates up to 1880.

I'm using :
WO 5.4
Modern Direct to web,
MySQL and Project Wonder.

Regards,

Daniel.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: How to use dates
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: More Readable EOQualifiers
  • Next by Date: Re: How to use dates
  • Previous by thread: Problem with OGNL when using JProfiler
  • Next by thread: Re: How to use dates
  • Index(es):
    • Date
    • Thread