Allow date values as longs.