SQL API

Summary
Creates a fiscal year SQL WHERE clause

Functions

SQL_FISCAL_YEAR

function SQL_FISCAL_YEAR ($var,  
$value = "")

Creates a fiscal year SQL WHERE clause

Parameters

$varName of the SQL DATE column to be searched
$value(optional) Fiscal year to search for.  If not given, defaults to the current year

Returns

SQL WHERE clause.

function SQL_FISCAL_YEAR ($var,  
$value = "")
Creates a fiscal year SQL WHERE clause