You need to sign in to do that
Don't have an account?
afindie
Convert String to UTC for apex query
Hi.
I need to pass a string into apex as " 7/23/2010" and convert this into utc format.
So I can use this UTC and query against my data.
However, I can't find anything that convert a string into the UTC format.
thanks in advance.
andy.
If, as you said, you just want to use the date value in a SOQL query, couldn't you simply do this: