dateConverter in php for INF6150