updated dateformat and flashs