Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Nikolas van Etten 202 posts 162 karma points
    Mar 22, 2010 @ 13:44
    Nikolas van Etten
    0

    DateTime bug?

    For some reason my datefolders seem to screw up when I pass a date which is not createDate or updateDate.

    When I get the property value these are the values passed for two different dates:

    Value in db: 2010-02-05 00:00:00.000
    Value when using document.getProperty("date").Value.ToString();: 02/05/2010 00:00:00

    Value in db: 2010-03-22 00:00:00.000
    Value when using document.getProperty("date").Value.ToString();: 22/03/2010 00:00:00

    Any help highly appreciated! What I don't really get is the way the getPropery returns the date value as there should be no need to parse it in this way as it will always cause problems...

Please Sign in or register to post replies

Write your reply to:

Draft