A.u.c date converter




















We support more than formats. Step 3 Download your converted file immediately. File Converter Categories Archive Converter. Document Converter. Presentation Converter. Drawing Converter.

Image Converter. Audio Converter. Video Converter. Correct invalid entries. Don't Quit Your Day Job DQYDJ may be compensated by our partners if you make purchases through links. See our disclosures page.

Share this Answer Link: help Paste this link in email, text or social media. Get a Widget for this Calculator. Roman Numeral Chart. Roman Numeral. Arabic Number. Follow CalculatorSoup:. Vadim Ovchinnikov Stay Foolish Stay Foolish 3, 3 3 gold badges 22 22 silver badges 30 30 bronze badges. For what it's worth, APIs are for computer readability, not user readability, so it's better to stick to a single specified date format, such as ISO If the client is directly displaying the API result to the user, or writing their own date parsing code for the API, then they're doing it wrong.

Formatting a date for display should be left to the topmost UI layer. NET Core 3. Json — Stephen. I steer clear of sprinkling Json. Instead, I have DTO date properties you mention as string s that are formatted with a shared const string value. Add a comment. Active Oldest Votes. Brian Rogers Brian Rogers k 29 29 gold badges silver badges bronze badges. Koen Zomers - The single quotes you removed from my date formats technically ARE correct, although they are not strictly necessary here.

Net source code ; therefore I am reverting your edit on that. Sorry for the edit. Keith Hill Keith Hill 1, 1 1 gold badge 8 8 silver badges 4 4 bronze badges. This doesn't work for me - I get 'JsonConverterAttribute' does not contain a constructor that takes 2 arguments — Tam Coton. This is the most flexible solution. If you get the following error : 'JsonConverterAttribute' does not contain a constructor that takes 2 arguments , it means your version of json.

You need to update to the latest json. Works for me.



0コメント

  • 1000 / 1000