added formatter to record builder
added custom date time formatter