28 th Jun 2022 21:36:58
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
Day Function Day Function
Minute Function Minute Function
Now Function Now Function
Second Function Second Function
Time Function Time 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

Hour Function - Visual Basic 6.0 (VB 6.0)

Returns a Variant (Integer) specifying a whole number between 0 and 23, inclusive, representing the hour of the day.
Syntax:
Hour(time)
Parameter Description
time Required. Variant, numeric expression, string expression, or any combination, that can represent a time.

Return Data type:
Integer
Example:

Statement Result Remark
Hour(Now) Current System Hour
Hour(#Feb 28 1990 23:10:10#)  
Hour(DateAdd("h", 5, Now))  
Hour(Date) 0  
Hour(1) from 31/12/1899 00:00:00
Hour(unknown) from 30/12/1899 00:00:00
Hour(Null) Null  
Hour(True) 0 from 29/12/1899 00:00:00
Hour(False) 0 from 30/12/1899 00:00:00
Go to top

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





© 2021 Chennaiiq.com. All Rights Reserved.

4571