Fetching date

Hii i m trying to show a date in a dropdown by fetching it from database but the date is coming in 1470003202 this form i want to show it 09-22-2016 format, as it is in the database.How can i do that?

Hi Jack,

You will need to convert a timestamp do the date format you need. This is dependent on the language you use, so I’d advice you to google on how to do that.