view button only enabled if page is published
store dates in standard formate d-m-Y
storing date in standard format and displaying it differently