From 267c6f2ac71f92999e969232431ba04678e7437e Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 07:54:39 +0200 Subject: Adding upstream version 4:24.2.0. Signed-off-by: Daniel Baumann --- .../source/text/sbasic/shared/03030204.xhp | 65 ++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 helpcontent2/source/text/sbasic/shared/03030204.xhp (limited to 'helpcontent2/source/text/sbasic/shared/03030204.xhp') diff --git a/helpcontent2/source/text/sbasic/shared/03030204.xhp b/helpcontent2/source/text/sbasic/shared/03030204.xhp new file mode 100644 index 0000000000..b48b4af0f3 --- /dev/null +++ b/helpcontent2/source/text/sbasic/shared/03030204.xhp @@ -0,0 +1,65 @@ + + + + + + + Second Function + /text/sbasic/shared/03030204.xhp + + + + + + +
+ + Second function + + + +

Second Function

+Returns an integer that represents the seconds of the serial time number that is generated by the TimeSerial or the TimeValue function. +
+ +

Syntax:

+ +Second (Number) + + +

Return value:

+Integer + +

Parameters:

+ Number: Numeric expression that contains the serial time number that is used to calculate the number of seconds. +This function is the opposite of the TimeSerial function. It returns the seconds of a serial time value that is generated by the TimeSerial or TimeValue functions. For example, the expression: +Print Second(TimeSerial(12,30,41)) +returns the value 41. + + + +

Example:

+ +Sub ExampleSecond + MsgBox "The exact second of the current time is "& Second( Now ) +End Sub + + + +
\ No newline at end of file -- cgit v1.2.3