add month compensation

Controls the behavior when months are added to a date and the resulting date is not valid. For example, adding 1 month to 10/31 technically results in 11/31, a non-valid date. When add month compensation is up, the resulting date is 12/1, while a value of down yields 11/30, and “error” will issue a diagnostic. Other values are not defined.

  • up

  • down

Default Value: up
        
        	setting	value
setting	date format	yyyy-Mmm-dd
setting	date order	ymd
setting	add month compensation	up
&nbsp		
	variable	value
set variable	new date	#fd(plusm(fj("2012-Jan-31"),1))
        
    
        
        	setting	value
setting	date format	yyyy-Mmm-dd
setting	date order	ymd
setting	add month compensation	down
&nbsp		
	variable	value
set variable	new date	#fd(plusm(fj("2012-Jan-31"),1))
        
    

Copyright © 2024 LogiGear Corporation. All rights reserved. LogiGear is a registered trademark, and Action Based Testing and TestArchitect are trademarks of LogiGear Corporation. All other trademarks contained herein are the property of their respective owners.

LogiGear Corporation

1730 S. Amphlett Blvd. Suite 200, San Mateo, CA 94402

Tel: +1 (650) 572-1400