Salesforce

Hour (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

Hour (Magic xpa 4.x)

Returns a number that represents the hours part of a time value or a time expression.

Syntax:

Hour(time)

Parameters:

time: A time value or a time expression.

Returns:

Number (00-99)

Example:

Hour('12:00:00'Time) returns 12

Where the variable A contains the time value 14:00:00, the expression Hour(A)+2 returns 16.

See also:

Minute, Second

How Do I Calculate the Hour/Minute/Seconds Portion of a Given Time Value?

The Online and Rich Client Samples projects (program DT15 and RDT15)

Reference
Attachment 
Attachment