Download WebWorksheet User Manual Version 3.6
Transcript
WebWorksheet v3.6 wwsDateDiff Description Returns the number of days between two dates. Typically, this can be done with a simple cell formula ( e.g. =C5–C4 ), but situations arise where Excel and WebWorksheet cannot agree on the cell format. Using wwsDateDiff helps to resolve those situations. Arguments firstDate (required) – Cell reference containing a valid date. secondDate (required) – Cell reference containing a valid date. Examples =wwsDateDiff(A12, B12) =wwsDateDiff(B12, A12) Tip: If the secondDate is before the firstDate, a negative number is returned. If both dates are the same, zero is returned. 51