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(date)

Name Datatype
No Data

Name Datatype
No Data

public function string of_monthname (date ad_source);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  		of_MonthName
//
//	Access:  		public
//
//	Arguments:
//	ad_source		Date for which the Month name is desired
//
//	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(ad_source) Then
	Return '!'
End If

//Check for invalid date
If Not of_IsValid(ad_source) Then
	Return '!'
End If

Return of_MonthName( Month(ad_source) )

end function

     
Name Owner
No Data

     
Name Owner
systemfunctions.isnull systemfunctions
systemfunctions.month systemfunctions
pfc_n_cst_datetime.of_monthname pfc_n_cst_datetime
pfc_n_cst_datetime.of_isvalid pfc_n_cst_datetime

     
Full name
No Data

     
Name Scope
No Data