To create an object and set the date to JUNE 22, 2013, which one of the following statement should be executed? ( )
选项:
A:$date = Date(“22 JUNE 2013”)
B:$date = new Date(“JUNE 22 2013”)
C:$date = DateTime(“22 JUNE 2013”)
D:$date = new DateTime(“22 JUNE 2013”)
发布时间:2024-06-11 23:52:51