Solved
I have an attribute in a .gdb containing dates in the format (yyyy) in a geodatabase in short integer which I need to change to an actual date attribute in the format (dd-mm-yyyy) with the date being january 1st for all. Is this possible? /Rasm

I have an attribute in a .gdb containing dates in the format (yyyy) in a geodatabase in short integer which I need to change to an actual date attribute in the format (dd-mm-yyyy) with the date being january 1st for all. Is this possible?
/Rasmus
Best answer by ebygomm
If you are writing back to a date field then you just need to create the dates in FME format (YYYYMMDD). So just append 0101 to the year and then write back to a date field. If you are writing to another format then you can append 0101 and then use a DateTimeConverter to get the desired format
Reply
Rich Text Editor, editor1
Editor toolbars
Press ALT 0 for help
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.