I am trying to format the datetime picker to output or return string format "YYYYMMDD:HHMMSS"
Can someone assist me?
EndTime = ultraDateTimeEditorEndTime.DateTime.ToString();
EndTime should display "YYYYMMDD:HHMMSS",
also when how to view time when you click a specific date, I want to be to pick a date and time from the calender
Hello Keith,
If you are using FormatString property of your UltraDateTimeEditor, maybe you should used:
FormatString = "yyyyMMdd:hhmmss";
If you want to get the value from your UltraDateTimeEditor in the mentioned format, maybe you could used:
String.Format( "{0:yyyyMMdd HHmmss}", ultraDateTimeEditor1.Value)
Please take a look at the attached sample for mre details and let me know if you have any questions.
Regards
Ok thats working, what about time, does the datepicker allow you to select time, I want to give the user the ability to be able to select both date and time range.