如题,在$interval = new DateInterval('P2W')中2W表示两周,但前面的P是什么用法,还看到有写PT的。请提供参考链接,谢谢。
http://php.net/manual/en/class.dateinterval.php