TransWikia.com

Separating date and time from the same column into two columns

Geographic Information Systems Asked by batool on July 5, 2021

If I have date and time in the same column how can I separate them in two columns in ArcMap?
And how can I put the date in this format (year,month,day)?

enter image description here

One Answer

Use DatePart("PART", [DATEFIELD]) in the Field Calculator.

The PART argument can be one of the following keywords: yyyy (YEAR), m (MONTH), d (DAY), h (HOUR), n (MINUTE), or s (SECOND)

See here: https://support.esri.com/en/technical-article/000014933

Answered by Joe Be on July 5, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP