Home › forums › Using CanvasJS › Date using PHP › Reply To: Date using PHP
$phpDate = date("Y-m-d h:i:sa");
$phpTimestamp = strtotime($phpDate);
If this doesn’t solve your requirement, kindly share a sample project along with sample database over Google Drive or Onedrive reproducing the issue your are facing, so that we can look into your code, understand it better and help you out.
Priyanka M S