Setting format according to date and birthday Field Type