scripting@wanadoo.nl




Day()

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 Day()
AuthorScriptLogic Corporation
Action Returns the day portion of a specific date.
SyntaxDay ("date") 
Parameters
  • date (Required / String) must be in the form of "YYYY/MM/DD" 
  • RemarksAbout as simple as it gets... Mainly developed since we are used to this function with other languages. In the future, we plan to add more parsing logic to handle date parameters in different orders. 
    ReturnsReturns the day portion of a specific date. If working with today's date, this function is not necessary since you could use the @DAY macro. 
    DependenciesNone. 
    Examples
    $theday=day("2001/04/01")
    
     
    Source
    FUNCTION Day ($expd)
      $day=Val(Substr($expd,9,2))
    ENDFUNCTION ; - Day -
     
      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