Log in

View Full Version : PHP Help



Romanity
03-05-2008, 09:18 AM
Right so in the database the end date is stored as 040520080935 (for example) to help witht he cron job.

However I want to display the end date to users.

Ive exploded 040520080935 so I now have 0405. What i need to know how to do, is put a / in between the 04 and 05.

Any suggestions?:)

Jackboy
06-05-2008, 08:46 AM
Right so in the database the end date is stored as 040520080935 (for example) to help witht he cron job.

However I want to display the end date to users.

Ive exploded 040520080935 so I now have 0405. What i need to know how to do, is put a / in between the 04 and 05.

Any suggestions?:)

Im sure theres a functio n that takes the first two chars and then adds summin, if i find it i will tell u

Want to hide these adverts? Register an account for free!