0
votes

I have a unix timestamp like this one: 1323668326. I want to convert it to RFC-822 date-time, so I can use it in rss feed I am new to PHP, so I would really appreciate the help.

1

1 Answers

4
votes

There is a predefined constant you can make use :-

date(DATE_RFC822, 1323668326);