LAE

Welcome to the LAE community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Discussions

Members

Resources

Events

 View Only
  • 1.  Convert string into a date

    Employee
    Posted 03-24-2010 16:25

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: Iain Sanders

    How do I convert a string into a date please?


  • 2.  RE: Convert string into a date

    Employee
    Posted 03-24-2010 17:05

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: mlowe

    Hi Iain,

    What sort of format is the string version of the date?

    A few examples:

    "20100325".date("CCYYMMDD")
    "2010/03/25".date("CY/M/D")
    "2010/Mar/25".date("CY/m/D")

    Hope that helps?

    Cheers