ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / Date and time functions
  • Error
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Stops and resets a running stopwatch. The value of the elapsed time is lost.
New in version 2025
WEBDEV - Browser code Variables of type Chrono are now available in browser code. The syntax for handling Chrono variables also becomes available.
Example
// -- Click code of BTN_Reset
// Resets the stopwatch
ChronoReset()
Syntax

Stopping and resetting the timing started with a stopwatch number Hide the details

ChronoReset([<Stopwatch number>])
<Stopwatch number>: Optional integer
Identifier of the stopwatch to reset. If this parameter is not specified, its default value is set to 1.
PHP Syntax not available in PHP

Stopping and resetting the timing started with a Chrono variable Hide the details

ChronoReset(<Stopwatch>)
<Stopwatch>: Chrono variable
Name of the Chrono variable that corresponds to the stopwatch to use.
Remarks

Error

A WLanguage error occurs ("The stopwatch is not started") if ChronoStart was not called before ChronoReset.
Business / UI classification: Neutral code
Component: wd300vm.dll
Minimum version required
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 11/05/2024

Send a report | Local help