date parse method scaffold