Set Default Date in Field in gdb

3233
3
Jump to solution
12-15-2015 04:57 AM
Highlighted
Occasional Contributor

I am trying to set the default date for a field in a feature class to 01/01/2016 for the new year. I am working in ArcGIS 10.2.2 and when I go to set the default value for the date, it does not work properly and once I hit apply, it codes it changes it to different numbers. Can anyone help me format this default date to make it work properly in the gdb?

Thank you kindly!

Reply
0 Kudos
1 Solution

Accepted Solutions
Highlighted
Occasional Contributor

I was actually just looking for the format to input a default date into a date field in a feature class. I found it in the help documentation:

yyyy-mm-dd hh:mm:ss AM/PM

Thank you for responding!

View solution in original post

3 Replies
Highlighted
Regular Contributor III
Reply
0 Kudos
Highlighted
Esri Contributor

Have you tired to create a new FeatureClass or Add a Field and set a new default?

*I just tried doing it in 10.3.1 and it works as expected

Reply
0 Kudos
Highlighted
Occasional Contributor

I was actually just looking for the format to input a default date into a date field in a feature class. I found it in the help documentation:

yyyy-mm-dd hh:mm:ss AM/PM

Thank you for responding!

View solution in original post