work with date function

hi,
how can i can pass the value of unixformat to date/time? and how can i retrieve the day/month/year from a date?

thanks a lot for your help

ps:i using php

Do you know about the date command? You can get today's date in almost any format.
Or are you reading a date from a file?