Hello all,
i have a small question, i data dumped my torrent file and i forgot how to convert the date string to an actual date.

Example.
["creation date"]=> float(1392057306)

I havent worked with php in a while and im finally getting back into my project. Thanks for any support.

convert the date string to an actual date.

["creation date"]=> float(1392057306)

Wait, do you want to convert a string into a DateTime? Or a Unix timestamp into a DateTime? Or a string into a Unix time stamp?

In any case, your progably looking for something from here.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.