error C3861: 'localtime': identifier not found

Change-Id: I2c805be63bb246106c9302404ef873528d759eec