<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://www.logicwiki.co.uk.logicmade.com/index.php?action=history&amp;feed=atom&amp;title=JSON_DateTime_Conversion_Problem</id>
		<title>JSON DateTime Conversion Problem - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://www.logicwiki.co.uk.logicmade.com/index.php?action=history&amp;feed=atom&amp;title=JSON_DateTime_Conversion_Problem"/>
		<link rel="alternate" type="text/html" href="https://www.logicwiki.co.uk.logicmade.com/index.php?title=JSON_DateTime_Conversion_Problem&amp;action=history"/>
		<updated>2026-05-13T22:58:55Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.2</generator>

	<entry>
		<id>https://www.logicwiki.co.uk.logicmade.com/index.php?title=JSON_DateTime_Conversion_Problem&amp;diff=1251&amp;oldid=prev</id>
		<title>AliIybar: Created page with &quot;Category:Json Category:ASP.NET Category:API Category:Web Services    var json = JsonConvert.SerializeObject(someObject, new JsonSerializerSettings() { DateForm...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.logicwiki.co.uk.logicmade.com/index.php?title=JSON_DateTime_Conversion_Problem&amp;diff=1251&amp;oldid=prev"/>
				<updated>2017-07-04T10:33:49Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/index.php?title=Category:Json&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Category:Json (page does not exist)&quot;&gt;Category:Json&lt;/a&gt; &lt;a href=&quot;/index.php?title=Category:ASP.NET&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Category:ASP.NET (page does not exist)&quot;&gt;Category:ASP.NET&lt;/a&gt; &lt;a href=&quot;/index.php?title=Category:API&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Category:API (page does not exist)&quot;&gt;Category:API&lt;/a&gt; &lt;a href=&quot;/index.php?title=Category:Web_Services&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Category:Web Services (page does not exist)&quot;&gt;Category:Web Services&lt;/a&gt;    var json = JsonConvert.SerializeObject(someObject, new JsonSerializerSettings() { DateForm...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Json]]&lt;br /&gt;
[[Category:ASP.NET]]&lt;br /&gt;
[[Category:API]]&lt;br /&gt;
[[Category:Web Services]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 var json = JsonConvert.SerializeObject(someObject, new JsonSerializerSettings() { DateFormatString = &amp;quot;yyyy-MM-ddThh:mm:ssZ&amp;quot; });&lt;br /&gt;
or&lt;br /&gt;
 var json = JsonConvert.SerializeObject(someObject, Formatting.Indented, new JsonSerializerSettings() { DateFormatString = &amp;quot;yyyy-MM-ddThh:mm:ssZ&amp;quot; })&lt;br /&gt;
or&lt;br /&gt;
 string json = JsonConvert.SerializeObject(yourObject,&lt;br /&gt;
    new IsoDateTimeConverter() { DateTimeFormat = &amp;quot;yyyy-MM-dd HH:mm:ss&amp;quot; });&lt;br /&gt;
I did this and it worked&lt;br /&gt;
&lt;br /&gt;
 [HttpGet]&lt;br /&gt;
 public string GetSummaryData(string reportDate)&lt;br /&gt;
 {&lt;br /&gt;
   var reportDateParsed = DateTime.ParseExact(reportDate, &amp;quot;yyyyMMdd&amp;quot;, CultureInfo.InvariantCulture, DateTimeStyles.None);&lt;br /&gt;
   var json = JsonConvert.SerializeObject(_dashboard.GetSummaryData(reportDateParsed), new JsonSerializerSettings() { DateFormatString = &amp;quot;yyyy-MM-ddThh:mm:ssZ&amp;quot; });&lt;br /&gt;
   return json;&lt;br /&gt;
 }&lt;/div&gt;</summary>
		<author><name>AliIybar</name></author>	</entry>

	</feed>