of_monthname


pfcapsrv.pbl   >   pfc_n_cst_datetime   >   of_monthname   

Full name pfc_n_cst_datetime.of_monthname
Access public
Extend of string
Return value string
Prototype public function string of_monthname(integer)

Name Datatype
No Data

Name Datatype
No Data

public function string of_monthname (integer ai_monthnumber);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  		of_MonthName
//
//	Access:  		public
//
//	Arguments:
//	ai_monthnumber		Based on the the passed month number, determines the Month name.
//
//	Returns:  		string
//		the month.
//
//	Description:  	
//		Based on the the passed date, determines the Month name.
//
//////////////////////////////////////////////////////////////////////////////
//
//	Revision History
//
//	Version
//	6.0   Initial version
//
//////////////////////////////////////////////////////////////////////////////
//
//	Copyright © 1996-1997 Sybase, Inc. and its subsidiaries.  All rights reserved.
//	Any distribution of the PowerBuilder Foundation Classes (PFC)
//	source code by other than Sybase, Inc. and its subsidiaries is prohibited.
//
//////////////////////////////////////////////////////////////////////////////


//Check parameters
If IsNull(ai_monthnumber) or ai_monthnumber<0 or ai_monthnumber>12 Then
	Return '!'
End If

return is_month[ai_monthnumber]

end function

     
Name Owner
pfc_n_cst_datetime.of_monthname pfc_n_cst_datetime
pfc_u_calendar.of_drawmonth pfc_u_calendar

     
Name Owner
systemfunctions.isnull systemfunctions

     
Full name
No Data

     
Name Scope
No Data