Jump to content

[SOLVED] applying text styles to php


TONYTOC

Recommended Posts

well using str to time, u can make the string a timestamp, no matter what it is saved as, then reformat it at will. look close at what i did there. i parsed the string for the time, changed it to a valid strtotime format ( no _ , / instead) then used strtotime to get a unix timestamp, finally passing it to date() as the time param. So u can make it say may 1 or 05 / 01 or 03:03pm etc etc.

 

go crazy.. its date()!!!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.