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.  String to timestamp

    Employee
    Posted 09-09-2015 12:43

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

    Originally posted by: sozdemir

    Hello LavaStorm experts,

    I just started using LavaStorm and I couldn't figure out how to convert a string to valid timestamp:

    Here is my data and it is stored under column name of "Date" - and it has string values which are similar to this one:

    "2/9/2015 15:36 PM"
    "2/9/2015 8:36 AM"

    Any help is much appreciated.

    Thank you.


  • 2.  RE: String to timestamp

    Employee
    Posted 09-10-2015 19:03

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

    Originally posted by: ryeh

    First split the string using space as the delimiter, then parse the date and time separately. I ignored the AM/PM since it's already captured by the 24-hour-clock format.
    Attachments:
    DateTime.brg


  • 3.  RE: String to timestamp

    Employee
    Posted 09-11-2015 05:44

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

    Originally posted by: sozdemir

    Awesome.

    Thank you so much.