created php template for dates