CURL.SetOptionTimeValue
-----------------------

Sets the time value.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [CURL](component_CURL.md) | [2.5](newinversion25.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "CURL.SetOptionTimeValue"; curl; Value ) 

**MBS**( **"CURL.SetOptionTimeValue";** /\* Sets the time value. \*/  
**$curl**; /\* The CURL session handle. \*/   
**$Value**) /\* The new time value.e.g. 123456789 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| curl | The CURL session handle. | $curl |
| Value | The new time value. | 123456789 |

### Result

Returns "OK" on success.

### Description

Sets the time value.  
This should be the time in seconds since 1 Jan 1970, and the time will be used in a condition as specified with [CURL.SetOptionTimeCondition](CURLSetOptionTimeCondition.md).  
See also [TIMEVALUE](https://curl.haxx.se/libcurl/c/CURLOPT_TIMEVALUE.html) option in CURL manual.

### See also

- [CURL.SetOptionFileTime](CURLSetOptionFileTime.md)
- [CURL.SetOptionIPResolve](CURLSetOptionIPResolve.md)
- [CURL.SetOptionPipeWait](CURLSetOptionPipeWait.md)
- [CURL.SetOptionResolve](CURLSetOptionResolve.md)
- [CURL.SetOptionTimeCondition](CURLSetOptionTimeCondition.md)
- [CURL.SetOptionTimeOut](CURLSetOptionTimeOut.md)
- [CURL.SetOptionTimeoutMS](CURLSetOptionTimeoutMS.md)

Created 18th August 2014 , last changed 18th August 2014

  
[CURL.SetOptionTimeOut](CURLSetOptionTimeOut.md) - [CURL.SetOptionTimeoutMS](CURLSetOptionTimeoutMS.md)

[HTML Version](CURLSetOptionTimeValue.shtml)