Adding a datetime field & API controller