You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Derek Jones edited this page Jul 5, 2012
·
3 revisions
I added my own little function to CI's "Date" helper file that assists with quick formatting of date strings, particularly those returned from a db table. Feel free to use it, modify it, add your own format strings, whatever.
Simple usage: include the date helper file as you normally would, then pass a date to setDate() along with a format (currently 'short', 'long,' or 'notime'):