Hi, I want to use a Calculated Date Field to get the current date and add 1 day. All the examples I've found use another field as the basis for the calculation, not just the current date. Can someone post how to just get the current date? It will be much appreciated! Thank you!
Hi, try this:
import java.sql.Timestamp
def date = new Timestamp(new Date().getTime())
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.