Results 1 to 2 of 2

Thread: datetime formate issurs

  1. #1

    Exclamation datetime formate issurs

    My timezone is BeiJing GMT(+8) .

    When I read a dateset to xml from the database , the datetime string likes this :


    return date = Date.parseDate('2009-02-16T09:21:49.7271.4903404', 'Y-m-d H:i');

    result : null
    return date = value.dateFormat('Y-m-d H:i'), '2009-02-16T09:21:49.7271.4903404', 'Y-m-d H:i');

    return :NaN NaN ...

    How to get the right datetime form localization ?

    Can anybody help me ?

    thanks .

  2. #2
    Sencha User Animal's Avatar
    Join Date
    Mar 2007


    Your format string does not match the format does it?

    What is that ".7271.4903404" bit? Looks like a non-standard date format.

    You can plug in custom parse/format functions in 3.0:

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts