--- title: "timestampOf" description: "Returns the timestamp of a qualified value." --- # timestampOf > Returns the timestamp of a qualified value. **This function is used by Ignition's Expression language.** ## Description ## Syntax `timestampOf(value)` ### Parameters | Type | Parameter | Description | |---|---|---| | Object | `value` | The value for which you want to find the timestamp. | ### Results **Date** - Returns the timestamp of the value's last update. ## Examples ```py title="Code Snippet" timestampOf({[default]Sensor 1/Reading}) //Returns the timestamp of the tag's last value update ``` ```py title="Code Snippet" timestampOf(tag("[default]Sensor 1/Reading")) //Returns the timestamp of the tag's value at the time the expression was evaluated on the Gateway ``` ```py title="Code Snippet" // Using tag() with a string tagPath timestampOf(tag("[default]Sensor 1/Reading")) //Example return: 2025-01-23 08:30:00 (evaluated at the Gateway) // Using a bound value timestampOf({[default]Sensor 1/Reading}) //Example return: 2025-01-23 08:30:02 (timestamp from the OPC source) ``` ```py title="Code Snippet" {[default]Sensor 1/Reading.timestamp} //Directly accesses the tag's timestamp property, returning the timestamp from the OPC source ```