|
|
|
| 26 March 2002 | Year() |
| Author | ScriptLogic Corporation |
| Action | Returns the year portion of a specific date. |
| Syntax | Year ("date") |
| Parameters | |
| Remarks | If working with today's date, this function is not necessary since you could use the @YEAR macro. |
| Returns | Returns the year portion of a specific date. |
| Dependencies | None. |
| Examples |
$theyear=year("2001/04/01")
|
| Source | FUNCTION Year ($expd) $year=Val(Substr($expd,1,4)) ENDFUNCTION ; - Year - |
|
|
|