Fixed date/time bug in get and add methods