You need to sign in to do that
Don't have an account?
willing
Is there a getDate() like function in APEX code which gives only Date and not the Time
I am writing a trigger and I need today' date .When I use system.today() it give me Date and time stamp. I need only the date portion.
Please let me know if anyone knows any function that is suiatble for my requirement
Please let me know if anyone knows any function that is suiatble for my requirement
Tyr this System.now();
System.debug('************ ' + system.today().format());
System.debug('************ ' + date.today().format());
Both will work like
************ 07/06/2013
************ 07/06/2013