2

Flexibility in date format in Date Time Picker

The date format for the Date time picker in Axiom can be changed.

For example, only needs to display the DATE without any TIME

1reply Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
  • I think this is a good idea (to not even give them the option to enter a time) but in case it helps, this can be used in a script to update a label (named Label1) with just the date and no time from a date time picker control (DTP1)

    Label1.Text=DTP1.DateTime.ToShortDateString();

    I'll warn though that I think it uses UTC so if you are in EDT and would pick May 3rd at 11 PM, the label will be set to May 4th. I thought I had a solution for that but didn't fully get it right off.

    Like
Vote2 Follow
  • 2 Votes
  • 8 mths agoLast active
  • 1Replies
  • 46Views
  • 2 Following