Calculate field for time values in modelbuilder

555
1
11-08-2010 11:32 PM
JessicaMoen
New Contributor
Hi,

I can calculate time values as normal using the field calculator in ArcMap, such as "02:02:02" or with a variable (varDate=Right([TIMESTAMP],8)), but I can't get it to calculate any time using the field calculator in the 'calculate field' tool in modelbuilder. I have tried testing the system time, VB, python, CDate(), moving it to a submodel, and checking my regional settings on the computer. I have also tried reformmating the entire time stamp in the format specified in the help pages and using the full date and time stamp. I either get an error message or 00:00:00.

Any suggestions? I'm using ArcGIS Desktop 10.
0 Kudos
1 Reply
JessicaMoen
New Contributor
I figured it out. The problem was with shapefiles vs. feature classes in geodatabases.
0 Kudos