From ed5640d8b587fbcfed7dd7967f3de04b37a76f26 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:06:44 +0200 Subject: Adding upstream version 4:7.4.7. Signed-off-by: Daniel Baumann --- .../source/text/sbasic/shared/03030104.xhp | 62 ++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 helpcontent2/source/text/sbasic/shared/03030104.xhp (limited to 'helpcontent2/source/text/sbasic/shared/03030104.xhp') diff --git a/helpcontent2/source/text/sbasic/shared/03030104.xhp b/helpcontent2/source/text/sbasic/shared/03030104.xhp new file mode 100644 index 000000000..90e7d4754 --- /dev/null +++ b/helpcontent2/source/text/sbasic/shared/03030104.xhp @@ -0,0 +1,62 @@ + + + + + + + +Month Function +/text/sbasic/shared/03030104.xhp + + +Sun Microsystems, Inc. + + + +
+Month function + +Month Function +Returns the month of a year from a serial date that is generated by the DateSerial or the DateValue function. +
+Syntax: + +Month (Number) + +Return value: +Integer +Parameters: + +Number: Numeric expression that contains the serial date number that is used to determine the month of the year. +This function is the opposite of the DateSerial function. It returns the month in the year that corresponds to the serial date that is generated by DateSerial or DateValue. For example, the expression + +Print Month(DateSerial(1994, 12, 20)) + +returns the value 12. + + +Example: + +Sub ExampleMonth + MsgBox "" & Month(Now) ,64,"The current month" +End Sub + + +
+ -- cgit v1.2.3