You need to sign in to do that
Don't have an account?

I need to use Today's date in a format like 2016-03-22T03:44:34.000-07:00 in a where clause in a query. Can you please help how to format this
I need to use Today's date in a format like 2016-03-22T03:44:34.000-07:00 in a where clause in a query. Can you please help how to format this.
like
SELECT id,name,SubscriptionId,createdDate FROM Amendment where createdDate = today
and today needs to be in this format, e.g.
2016-03-22T03:44:34.000-07:00
So, if I get system.today(); I need your help how to format that as I mentioned above.
Thank you
like
SELECT id,name,SubscriptionId,createdDate FROM Amendment where createdDate = today
and today needs to be in this format, e.g.
2016-03-22T03:44:34.000-07:00
So, if I get system.today(); I need your help how to format that as I mentioned above.
Thank you
Mark this as the best answer to help the community grow.
Thanks,
Prashant