Advertisement
Guest User

Untitled

a guest
Apr 2nd, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Groovy 0.31 KB | None | 0 0
  1. import java.sql.Timestamp
  2. import java.util.concurrent.TimeUnit
  3. import java.time.LocalDate
  4. import java.time.ZoneId
  5. import java.util.Date
  6.  
  7. def date = Date.from(LocalDate.now().plusDays(1).atStartOfDay(ZoneId.systemDefault()).toInstant()).format("dd/MMM/yy");
  8. getFieldByName("Start Trial Period").setFormValue(date)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement