Hi there,
There is complexity with the Date Time Editing; it’s also always presented in the local time zone of the editor, but stored as UTC.
Localising the date and time to the locale would also be an option; it is possible to use FText::AsDate to convert it to the localised version, eg Day/Month/Year vs Month/Day/Year in that styling, which may be more intuitive to editors.
Converting back, however, I don’t think it is as exposed to other modules in C++.
That being said, you do not need to modify the engine to replace the property’s customization.
Creating an editor-only module or plugin that is loaded late in the engine’s initialisation, ie PostEngineInit after the normal date time customisation has been applied will allow you to override the default property customisation. The key function to achieve this FPropertyEditorModule::RegisterCustomPropertyTypeLayout
I put one together that you are welcome to use, modify, or re-create that might suit your needs
[Image Removed]It keeps the normal way of editing FDateTime, but adds child elements for setting them as a date or time individually.
Again, it converts to the local time zone for display, but is stored as UTC, My preference would be to display as UTC if it were critical to the operation to reduce input errors.
You could remove the displayed timezone conversion from property customisation if you wanted to as well.
You can then parse it as the designers wish to edit it.
You may also want to do something like FVectors, which are broken further into components on a single row, with a preceding XYZ label.
I have attached a small project with an editor module inside, which demonstrates how you could do this.
I will reassign this to an epic staff member to comment on the future of FDateTime property customisation.
Kind Regards
Keegan GIbson