PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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
..InSeconds is used to convert a Duration variable into seconds. You can:
  • Find out the number of seconds corresponding to a duration.
  • Modify the number of seconds corresponding to a duration.
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.
Example
MyDuration is Duration
MyDuration..InHours = 210
Trace(MyDuration..InSeconds)  // 756000
Syntax

Finding the number of seconds corresponding to a Duration variable Hide the details

<Result> = <Duration Used>..InSeconds
<Result>: Real
Number of seconds corresponding to the specified duration.
<Duration Used>: Duration
Name of the Duration variable to use.

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

<Duration Used>..InSeconds = <New Duration>
<Duration Used>: Duration
Name of the Duration variable to use.
<New Duration>: Real
Number of seconds corresponding to the specified duration.
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment