convert string to date - InfoPath Dev
in

InfoPath Dev

convert string to date

Last post 10-16-2011 08:44 AM by Jimmy. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 10-15-2011 08:06 PM

    convert string to date

    I have string data type field named startDate with text in the format of YYYY/MM/DD, I need to convert the text to a format that I can use to set a data picker named ppDate without getting a validation error Is there a way to accomplish this using substring-before, substring-after and concat ?
  • 10-16-2011 08:44 AM In reply to

    translate(startDate, '/', '-') should do the trick.

    Jimmy Rishe / Software Developer / Microsoft MVP
    Qdabra Software
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.