move date stuff from web into datefuncs.dt