date formate related functions modified or added