Skip to content

string to date object

Forums Forums SIMPOL Programming string to date object

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #279

    Hi, I have a string like “05/11/1974” and I would like to convert to a date object. Is there already a methods for this? Ciao

    #1616
    Michael
    Keymaster

    marco wrote:
    > Hi,
    >
    > I have a string like "05/11/1974" and I would like to convert to a
    > date object.
    >
    > Is there already a methods for this?

    In the sbldatelib.sml, use string2date(). Make sure to pass the format
    string in the same format as the date entered (at least matching the
    order of day/month/year, specifics are less important).

    Ciao, Neil

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.