Skip to main content

Format Date in Form Designer

Comments

2 comments

  • Permanently deleted user

    Hi Ryan,

    Did you figure out how to handle dates? I have a form with a date picker set to Long. But forms only seem to output strings. Outputing to string changes the format, so not sure what the use of this is.

    Just wondering if you have any tips.

    Thanks!

    0
  • Permanently deleted user

    This works to give something like April 08, 2013. Can modify as needed.

    dateVariable.ToString("MMMM dd, yyyy", System.Globalization.CultureInfo.InvariantCulture)

    0

Please sign in to leave a comment.