php get current timestamp

There is lots of way to get current timestamp. In php you can get current unix timestamp using time() function.Please use bellow given examples to get current unix timestamp.

  date_default_timezone_set('Asia/Calcutta'); //optional If PHP 5.3 generate Wornings then use it
  $cureentTimeStamp=time();    //current timestamp
  echo $cureentTimeStamp;
  
  echo 'another Way';
  echo strtotime("now");