单项选择题

想获取当前时间,则使用()

A.time.localtime()
B.time.gmtime()
C.time.strptime()
D.time.mktime()