Set Default Date in Field in gdb

4135
3
Jump to solution
12-15-2015 04:57 AM
SaraWander
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!

0 Kudos
1 Solution

Accepted Solutions
SaraWander
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
WesMiller
Regular Contributor III
0 Kudos
JohnPlunkett
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

0 Kudos
SaraWander
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!