ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Time and date management properties
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
InMilliseconds (Property)
In french: EnMillisecondes
The InMilliseconds property is used to convert a Duration variable to milliseconds. You can:
  • Find out the number of milliseconds corresponding to a duration.
  • Modify the number of milliseconds corresponding to a duration.
Example
MyDuration is Duration
MyDuration.InHours = 210
Trace(MyDuration.InMilliseconds)  // 756000000
Syntax

Finding out the number of milliseconds corresponding to a Duration variable Hide the details

<Result> = <Duration used>.InMilliseconds
<Result>: Integer
Number of milliseconds corresponding to the specified duration.
<Duration used>: Duration
Name of the Duration variable to be used.

Modifying the number of milliseconds corresponding to a Duration variable Hide the details

<Duration used>.InMilliseconds = <New duration>
<Duration used>: Duration
Name of the Duration variable to be used.
<New duration>: Integer
Number of milliseconds corresponding to the specified duration.
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help