Home Tutorial Php Phpdate date_timestamp_set

 
 

date_timestamp_set
Posted on: August 27, 2009 at 12:00 AM
date_timsestamp_set alias DateTime::setTimestamp function is used for setting the date and time based on an Unix timestamp.

date_timestamp_set

date_timsestamp_set alias DateTime::setTimestamp function is used for setting the date and time based on an Unix timestamp.

Syntax

public DateTime DateTime::setTimestamp ( int $unixtimestamp )

Parameters

unixtimestamp - Unix timestamp representing the date.

Return Values

It returns the modified DateTime.

Related Tags for date_timestamp_set:


Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.