In any language I’ve ever used, manipulating dates, times, datetimes…always is a big pain
I’m no expert in PHP, but unless DATE_FORMAT is some PHP constant (which it could be, for all I know) then you need to actually enter the format that you want as a string. The PHP reference for the date function is here.
Hi Mark. +1 man. This worked. However, is there any way you can tell me where it pulls this info from? I would like to change the date format to mm/dd/yy and get rid of the times. I really see no need to display the time they joined or the time they last logged in. Only the dates.
You can easily do an if else, same way as teh pilot list displays No data yes of they have not filed a pirep or the date is 1969 etc, not got round to that yet myself
Hi Tom. I did read your post but I thought there was a typo in it is why I did not try it at first. It actually works exactly how I was wanting it to work. Thanks! +1
Hi Jeff. I used it ( Tom’s code) in my public_profile.tpl and in the profile_main.tpl and it works fine.
I got ninja’s on this one but I was going to ask as well where you were placing the code at. Now the code I originally posted, that is exactly what was happening with me too.