我有以下代码来确定明天午夜的unix时间戳.对我来说这看起来很漂亮,我想知道是否有人有更优雅的解决方案.
date("U", strtotime(date("Y-m-d 00:00:00", strtotime("tomorrow"))));
php unix-timestamp
php ×1
unix-timestamp ×1