Bookshelf Home | Contents | Index | PDF |
Siebel eScript Language Reference > Methods Reference > Date and Time Methods > Set Date MethodThe Set Date method sets the day of dateVar to the value you specify in the dayOfMonth argument. FormatTable 65 describes the arguments for the Set Date method.
Setting the Day to a Value That Exceeds 31You can add any number of days to a date. Siebel eScript automatically converts the number of days to the correct month and year. For example, to add the number of days to a date, you can use the following script: //script to add 7 days to a date dtNextWeek.setDate( dtNextWeek.getDate()+7 ); |
Siebel eScript Language Reference | Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |