PHP/strtotime()

解説 引数で指定された文字列をタイムスタンプに変換

タイムスタンプとは「1970年1月1日 00:00:00 GMT」からの通算秒数

strtotime($date)

sample1
1715007600
sample1code
$ymd = date("Y-m-d");
echo strtotime($ymd);