m_a_n
asked on
CAML to C#? CreateISO8601DateTimeFromSystemDateTime?
Hi all,
I will appreciate if somebody can provide C# that can replace this CAML query.
//In CAML this outputs date and time correctly. I need the C# code which can output same value.
CreateISO8601DateTimeFromS ystemDateT ime(StartT ime)
//For reference the CAML query is as follows:
-------------------------- ---------- ---------- ---------- ---------- ------
<Geq>
<FieldRef Name='" + DateField + "'/>
<Value Type='DateTime'>" + Microsoft.SharePoint.Utili ties.SPUti lity.Creat eISO8601Da teTimeFrom SystemDate Time(Start Time) + "</Value>
</Geq>
-------------------------- ---------- ---------- ---------- ---------- ------
Thanks in advance,
I will appreciate if somebody can provide C# that can replace this CAML query.
//In CAML this outputs date and time correctly. I need the C# code which can output same value.
CreateISO8601DateTimeFromS
//For reference the CAML query is as follows:
--------------------------
<Geq>
<FieldRef Name='" + DateField + "'/>
<Value Type='DateTime'>" + Microsoft.SharePoint.Utili
</Geq>
--------------------------
Thanks in advance,
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.