[opencms-dev] Date Validation and storage
Siegfried Puchbauer
siegfried.puchbauer at gmail.com
Mon May 22 15:31:50 CEST 2006
The date is stored as long - java standard (milliseconds since 1970-01-01).
It would be maybe a good idea to define your own xmlcontent datatype
(similar to OpenCmsDate) that stores it as String ...
hth
On 5/20/06, Mike Insch <mike.insch at gmail.com> wrote:
>
> Hi All,
>
> Now that I have my XML content definitions working (thanks for the
> earlier help), I have run into another problem.
>
> For some reason, it seems that I can't store any dates earlier than
> January 1 1972 using the OpenCmsDateTime property type. Since my
> website deals with Heritage Railways and Steam Locomotive production
> and retirement dates, I potentially need to store dates as far back as
> the mid 1800's!
>
> Is there somewhere I need to change settings to allow the storage of
> earlier dates, or do I have to provide an alternative means of storing
> dates earlier than 1972?
> --
> Regards, Mike Insch, DipHE
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
--
Mit freundlichen Grüßen
Siegfried Puchbauer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20060522/6720581f/attachment.htm>
More information about the opencms-dev
mailing list