scripting@wanadoo.nl




Year()

http://www.scriptlogic.com/kixtart/FunctionLibrary_FunctionList.aspx


actual FunctionLibrary list on 'Scriptlogic' site printer-friendly mirror of UDF topic on 'scripting@wanadoo.nl' site close
26 March 2002 Year()
AuthorScriptLogic Corporation
Action Returns the year portion of a specific date.
SyntaxYear ("date") 
Parameters
  • date (Required / String)  
  • RemarksIf working with today's date, this function is not necessary since you could use the @YEAR macro. 
    ReturnsReturns the year portion of a specific date. 
    DependenciesNone. 
    Examples
    $theyear=year("2001/04/01")
    
     
    Source
    FUNCTION Year ($expd)
      $year=Val(Substr($expd,1,4))
    ENDFUNCTION ; - Year -
     
      original source of UDF topic. show actual FunctionLibrary list on Scriptlogic site close top
              printer-friendly mirror of UDF topic on scripting@wanadoo.nl site  




    Copyright © 2003 www.scriptlogic.com & scripting@wanadoo.nl - last updated on 20 May 2003


    Site Meter