Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.sql.Timestamp
- import java.util.concurrent.TimeUnit
- import java.time.LocalDate
- import java.time.ZoneId
- import java.util.Date
- def date = Date.from(LocalDate.now().plusDays(1).atStartOfDay(ZoneId.systemDefault()).toInstant()).format("dd/MMM/yy");
- getFieldByName("Start Trial Period").setFormValue(date)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement