Posts by Claudio Sally • 11 points
1 post
-
1
votes1
answer275
viewsA: How to serialize a datetime displaying in the dd-MM-yyyy hh:mm:ss format
One output would be to convert Datetime to formatted string and then return it to view as json. Ex: DateTime.Now.ToString("dd-MM-yyyy HH:mm:ss");