date interface works properly.