HourOf()没有定义?解决方法

HourOf()没有定义?我使用了三个函数HourOf(DateTime)MinuteOf(DateTime)SecondOf(DateTime)说我没有定义

HourOf()没有定义?
我使用了三个函数
HourOf(DateTime);
MinuteOf(DateTime);
SecondOf(DateTime)
说我没有定义,我该怎么办?

[解决办法]
#include <DateUtils.hpp>