# Date/Time Customization

**URL:** <https://www.epiusers.help/t/date-time-customization/47519>\
**Category:** Epicor ERP 10\
**Created:** [September 5, 2018, 6:08pm UTC](https://www.epiusers.help/t/date-time-customization/47519 "2018-09-05T18:08:19Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![aulrickson](https://www.epiusers.help/user_avatar/www.epiusers.help/aulrickson/32/35037_2.png) [@aulrickson](https://www.epiusers.help/u/aulrickson)\
**Post date:** [September 5, 2018, 6:08pm UTC](https://www.epiusers.help/t/date-time-customization/47519/1 "2018-09-05T18:08:19Z")

</div>

I have a form customization where users need to provide a date and time. I’ve tried using the Modify Extended Properties options from the Tools \> Wizards \> Customization Wizards to change the format of the Date field to include a chance to input time as well which seems to work; however, the timestamp always reverts to 12:00 am.

Can a EpiDateTimeEditor and a EpiTimeEditor be bound to the same Date field to manage this? Or what is the best approach when needing to record a Date, as well as a specific Time on that date?

---

<div class="post-metadata">

**Author:** ![Chris\_Conn](https://www.epiusers.help/user_avatar/www.epiusers.help/chris_conn/32/93797_2.png) [@Chris\_Conn](https://www.epiusers.help/u/Chris_Conn)\
**Post date:** [September 5, 2018, 6:22pm UTC](https://www.epiusers.help/t/date-time-customization/47519/2 "2018-09-05T18:22:36Z")

</div>

I am unsure about the answer here but I do see a public field on the EpiDateTimeEditor called EpiFormat which may do something. With that said, I am unaware of any DateTime fields which handle both Date and Time in native epicor so it wouldnt surprise me if the control wasnt designed to handle this.

A workaround would be to add a standard .NET DateTimeEditor at runtime.

> **[C# DateTimePicker Control](https://www.c-sharpcorner.com/uploadfile/mahesh/C-Sharp-datetimepicker-control/)**
>
> A DateTimePicker control allows users to select a date and time in Windows Forms applications. In this tutorial, we will see how to create a DateTimePicker control at design-time as well as at run-time, set its properties and call its methods.

You can also create your own controls to add to the ToolBox but that’s a beast in it’s own

---

<div class="post-metadata">

**Author:** ![Banderson](https://www.epiusers.help/user_avatar/www.epiusers.help/banderson/32/50875_2.png) [@Banderson](https://www.epiusers.help/u/Banderson)\
**Post date:** [September 5, 2018, 6:24pm UTC](https://www.epiusers.help/t/date-time-customization/47519/3 "2018-09-05T18:24:40Z")

</div>

Are you manually entering the date? Or setting it via BPM or other code? If you use Today(), it just does a date at 12:00. If you use Now(), it sets the current time. Not sure if that helps, but it’s something that I’ve messed with.

---

<div class="post-metadata">

**Author:** ![aulrickson](https://www.epiusers.help/user_avatar/www.epiusers.help/aulrickson/32/35037_2.png) [@aulrickson](https://www.epiusers.help/u/aulrickson)\
**Post date:** [September 5, 2018, 6:27pm UTC](https://www.epiusers.help/t/date-time-customization/47519/4 "2018-09-05T18:27:31Z")

</div>

It will be a manual entry which will be a time during a future date. So the Today() and Now() expressions will not work here. I’m guessing it will just need to be treated as two separate fields: One for the date, one for the time?

---

<div class="post-metadata">

**Author:** ![Chris\_Conn](https://www.epiusers.help/user_avatar/www.epiusers.help/chris_conn/32/93797_2.png) [@Chris\_Conn](https://www.epiusers.help/u/Chris_Conn)\
**Post date:** [September 5, 2018, 6:32pm UTC](https://www.epiusers.help/t/date-time-customization/47519/5 "2018-09-05T18:32:21Z")

</div>

> [@aulrickson](#):
>
> I’m guessing it will just need to be treated as two separate fields

Not if you use a native .NET control

---

<div class="post-metadata">

**Author:** ![Banderson](https://www.epiusers.help/user_avatar/www.epiusers.help/banderson/32/50875_2.png) [@Banderson](https://www.epiusers.help/u/Banderson)\
**Post date:** [September 5, 2018, 6:48pm UTC](https://www.epiusers.help/t/date-time-customization/47519/6 "2018-09-05T18:48:29Z")

</div>

DId you make a custom field for this? Or are you trying to use a native field? If you are making a custom one, I think you can specify the type as DateTime, and then the editor should follow. If it’s a native one, you might be out of luck.

 ![image](https://epiusers.help/uploads/default/original/2X/d/ddf3d5056d80173cfb32e0c0c807f2ec48fb59d4.png)
