From d019e26d52e1a8850a9ab6fed71e28c659ca75f5 Mon Sep 17 00:00:00 2001 From: RĂ¼diger Timm Date: Fri, 26 Nov 2004 13:55:36 +0000 Subject: INTEGRATION: CWS helpcontentbeta (1.1.2); FILE MERGED 2004/09/16 11:45:21 fpe 1.1.2.1: Regular Update --- .../source/text/sbasic/shared/03030102.xhp | 54 +++++++++++----------- 1 file changed, 28 insertions(+), 26 deletions(-) (limited to 'helpcontent2/source/text/sbasic/shared/03030102.xhp') diff --git a/helpcontent2/source/text/sbasic/shared/03030102.xhp b/helpcontent2/source/text/sbasic/shared/03030102.xhp index 18221cc211..0d1a3cb6c7 100755 --- a/helpcontent2/source/text/sbasic/shared/03030102.xhp +++ b/helpcontent2/source/text/sbasic/shared/03030102.xhp @@ -52,39 +52,41 @@ * Contributor(s): _______________________________________ * * - ************************************************************************--> + ************************************************************************--> + + -DateValue Function [Runtime] +DateValue Function [Runtime] /text/sbasic/shared/03030102.xhp Sun Microsystems, Inc. -converted from old format - fpe +converted from old format - fpe - - -
- DateValue;functionDateValue Function [Runtime] - Returns a number from a date string. The date string is a complete date in a single numeric value. You can also use this serial number to determine the difference between two dates. -
- Syntax: - DateValue [(date)] - Return value: - Long - Parameters: - Date: String expression that contains the date that you want to calculate. The date can be specified in almost any format. - You can use this function to convert a date that occurs between December 1, 1582 and December 31, 9999 into a single integer value. You can then use this value to calculate the difference between two dates. If the date argument lies outside the acceptable range, $[officename] Basic returns an error message. - In contrast to the DateSerial function that passes years, months, and days as separate numeric values, the DateValue function passes the date using the format "month.[,]day.[,]year". - - - - Example: - Sub ExampleDateValue - msgbox DateValue("12/02/1997") - end sub - - +
+DateValue function + +DateValue Function [Runtime] +Returns a number from a date string. The date string is a complete date in a single numeric value. You can also use this serial number to determine the difference between two dates. +
+Syntax: +DateValue [(date)] +Return value: +Long +Parameters: + +Date: String expression that contains the date that you want to calculate. The date can be specified in almost any format. +You can use this function to convert a date that occurs between December 1, 1582 and December 31, 9999 into a single integer value. You can then use this value to calculate the difference between two dates. If the date argument lies outside the acceptable range, $[officename] Basic returns an error message. +In contrast to the DateSerial function that passes years, months, and days as separate numeric values, the DateValue function passes the date using the format "month.[,]day.[,]year". + + + +Example: +Sub ExampleDateValue +msgbox DateValue("12/02/1997") +end sub +
-- cgit v1.2.3