CONVERT

Syntax

CONVERT(<number>; <string, measurement abbreviation >; <string, measurement abbreviation>)

Description

Converts a number from one measurement to another measurement.

The following measurements are available for the CONVERT function:

MeasurementMeasurement abbreviation
Millisecondms
Seconds
Minutem
Hourh
Dayd
Yeary

Examples

NumberFromToReturns
1000mss1
1000hm60000
1000dy2.737850787132101
5000hd208.3333333333334