react-native-health-connect icon indicating copy to clipboard operation
react-native-health-connect copied to clipboard

What is time parameter?

Open FCG-labs opened this issue 1 year ago • 1 comments

스크린샷 2024-08-01 오전 10 29 31

... await initialize(); await insertRecords([ {recordType: 'BodyFat', percentage: weightData.bodyFatPercent, time:moment().format('YYYY/MM/DDTHH:mm:ss')}, ]) ...

how can i coding the "time" parameters.

FCG-labs avatar Aug 01 '24 01:08 FCG-labs

It's date time formatted in ISO-8601.

Example: 2024-08-01T12:24:56.004Z

matinzd avatar Aug 01 '24 12:08 matinzd