DateValue Function
āļ¯āˇāļą āļāļąāˇāļāˇāˇāļāˇāļąāˇ āļ¯āˇāļą āļ āļāļēāļāˇ āļŊāļļāˇāļ¯āˇāļēāˇ. āļ¯āˇāļą āļāļąāˇāļāˇāˇ āļēāļąāˇ āļāļ āˇāļāļāˇâāļēāˇāļāˇāļ¸āļ āļ āļāļēāļāˇāļąāˇ āļēāˇāļāˇ āˇāļ¸āˇāļ´āˇāļģāˇāļĢ āļ¯āˇāļąāļēāļāˇ. āļ¯āˇāļą āļ¯āˇāļāļ āˇāˇāļąāˇ āļąāˇāļģāˇāļĢāļē āļāˇāļģāˇāļ¸āļ§ āļāļļāļ§ āļ¸āˇāļ¸ āˇāˇâāļģāˇāļĢāˇāļāļ āļ āļāļāļēāļ¯ āļˇāˇāˇāˇāļāˇ āļāļŊ āˇāˇāļ.
āļāˇāļģāļ āļģāˇāļāˇāļē:
DateValue [(date)]
āļāļ´āˇāˇ āļŊāļļāˇāļ¯āˇāļą āļ āļāļē:
āļ¯āˇāļąāļē
āļ´āļģāˇāļ¸āˇāļāˇāļąāˇ:
Date: String expression that contains the date that you want to calculate. In contrast to the DateSerial function that passes years, months and days as separate numeric values, the DateValue function requests the date string to be according to either one of the date acceptance patterns defined for your locale setting (see ) or to ISO date format (momentarily, only the ISO format with hyphens, e.g. "2012-12-31" is accepted).
āļāļ¯āˇāˇāļģāļĢāļē:
Sub ExampleDateValue
MsgBox DateValue("12/02/2011")
End Sub