单项选择题

以下哪项表示以当前的日期和时间作它的初始值()

A.varobjDate=newDate()
B.varobjDate=Date()
C.varobjDate=new(2019-10-01)
D.varobjDate=Date(2019-10-01)