PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
InMilliseconds (Property)
In french: EnMillisecondes
The Property ToMilliseconds allows to convert an Variable of type Duration to milliseconds. You can:
  • Find out the number of milliseconds corresponding to a duration.
  • Modify the number of milliseconds corresponding to a duration.
Versions 17 and later
iPhone/iPad This property is now available for iPhone/iPad applications.
New in version 17
iPhone/iPad This property is now available for iPhone/iPad applications.
iPhone/iPad This property is now available for iPhone/iPad applications.
Versions 18 and later
Universal Windows 10 App This property is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This property is now available in Windows Store apps mode.
Universal Windows 10 App This property is now available in Windows Store apps mode.
Versions 20 and later
WEBDEV - Browser code This property is now available in browser code.
New in version 20
WEBDEV - Browser code This property is now available in browser code.
WEBDEV - Browser code This property is now available in browser code.
Versions 21 and later
Apple Watch This property is now available in Apple Watch mode.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
New in version 21
Apple Watch This property is now available in Apple Watch mode.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Apple Watch This property is now available in Apple Watch mode.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Example
MyDuration is Duration
MyTime.Hours = 210
Trace(MILESeconds) // 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 use.

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 use.
<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