getHours()

Return the hours value for this date.

Syntax

public String getHours() 
 

Return values

The string representing the hour value which will be between 00 and 23.

Examples

DtpDate toDay = new DtpDate();
 String hours = toDay.getHours();
 

Copyright IBM Corp. 2003