Select to view content in your preferred language

How to input exact time like 9:00:00 AM in attribute table

626
1
05-27-2023 10:16 AM
HninSandarLwin
New Contributor

Dear Sir, 

I would like to ask questions regarding with adding timestart1 and timeend1 in attribute table for locations point shapefile.

I created point shapefile to add locations in network dataset and add field which is necessary for running vehicle routing problem. TimeStart1 and TimeEnd1 are added for Timewindow, however, I cannot add time in attribute. 

The problem is I chose Date Data type before adding time. It just change to 12:00:00 AM even I added 9:00:00 AM in the field when I clicked "save edits". 

The input time that I want to add is similar with the following table. 

Therefore, I would like to know is how can I add time as shown in figure. I want to add 9:00:00 AM and 5:00:00 PM for TimeStart1 and TimeEnd1. 

HninSandarLwin_0-1685207502572.png

Thank you so much for your time. 

Sincerely,

Hnin Sandar Lwin

0 Kudos
1 Reply
DanPatterson
MVP Esteemed Contributor

If you are using shapefiles...

Geoprocessing considerations for shapefile output—ArcGIS Pro | Documentation

Date fields only support date and do not support time.
Caution:
The nonsupport of time in date fields is a serious limitation for any tool that performs temporal analysis.


... sort of retired...
0 Kudos