28 th Jun 2022 21:40:31
Hai Friend , Sign In
Home
World
INDIA
Chennai City
Games
Developers
Members
Birthday
Search
Astrology
G. K.
Story
Tamil Nadu Government Holiday List 2018 in English and Tamil   *   Trichy: Wanted - PHP, MySql Programmers. Contact trichy people only 84894 28 444.   *   Indian Railways New Train Number List [Search / Enquiry / Locator / Finder]   *   பன்றிக் காய்ச்சல் பற்றி அறிந்து கொள்ளுங்கள் (Swine Flu H1N1)
See Also
Date Function Date Function
DateValue Function DateValue Function
Day Function Day Function
Month Function Month Function
Now Function Now Function
TimeValue Function TimeValue Function
TimeSerial Function TimeSerial Function
WeekDay Function WeekDay Function
Year Function Year Function
Date Time Functions Date Time Functions
Visual Basic Functions Visual Basic Functions
Visual Basic Home Visual Basic Home
 
Description  Syntax  Return Datatype  Example  Migration

DateSerial Function - Visual Basic 6.0 (VB 6.0)

Returns a Variant (Date) for a specified year, month, and day.
Syntax:
DateSerial(year, month, day)
Parameter Description
year Required; Integer. Number between 100 and 9999, inclusive, or a numeric expression.
month Required; Integer. Any numeric expression.
day Required; Integer. Any numeric expression.
Return Data type:
Date
Example:
DateSerial Returns Results in System's Short Date Format.
Current System's Short Date Format: dd/MM/yyyy.
Current System Date and Time is:



Statement Result Remark
DateSerial(1977, 5, 14) 14/05/1977  
DateSerial(1977 - 10, 5 - 2, 1 - 1) 28/02/1967  
DateSerial(1967, 2, 31) 03/03/1967 Auto Correct Invalid Date
Go to top

Migration from Visual Basic 6.0 (VB 6.0) to
  DateSerial Function in VB Script (VBS)
  DateSerial Function in JScript (JS)
  DateSerial Function in ASP (Active Server Page)
  DateSerial Function in PHP Script
  DateSerial Function in MS-Access
  DateSerial Function in MS SQL Server
  DateSerial Function in Oracle
  DateSerial Function in C Language
  DateSerial Function in C++ Language
  DateSerial Function in Foxpro
  DateSerial Function in Fortran
  DateSerial Function in MS Excel Sheet
Go to top
 





© 2021 Chennaiiq.com. All Rights Reserved.

4635