Zum Hauptinhalt gehen

Format Date in Form Designer

Kommentare

2 Kommentare

  • 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

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.