Welcome Guest, Not a member yet? Register   Sign In
How to manage dates on an auto refreshing demo site
#4

(This post was last modified: 10-23-2015, 12:40 PM by ignitedcms.)

I'm not entirely sure why you have two different time formats, shouldn't they all be the same for consistency.

You can still use php to get just the date part of a date time string, and add say a set number of days or months, so I don't see this as being an issue of having to do a search and replace which would be bad practice anyway.

E.g.

http://stackoverflow.com/questions/37276...ate-in-php

Also doing it in mysql...

http://stackoverflow.com/questions/12862...rmat-value
Practical guide to IgnitedCMS - Book coming soon, www.ignitedcms.com
Reply


Messages In This Thread
RE: How to manage dates on an auto refreshing demo site - by ignitedcms - 10-23-2015, 12:38 PM



Theme © iAndrew 2016 - Forum software by © MyBB