Skip to content

I Learnt Today

a journal of a journey

  • Home
  • Blog
  • About
  • Contact

Tag Archives: mvc

Preserving milliseconds when passing dates around front end

2016-06-08 Instead of passing the datetime pass the datetime.Ticks which is a (long) numeric value so the complete datetime value will be preserved. Then convert ticks back to datetime in the server (controller action method).

Posted byMenolJune 8, 2016Posted inASP.Net, ASP.NET MVC, C#.Net, Web DevelopmentTags:Datetime, html, milliseconds, mvcLeave a comment on Preserving milliseconds when passing dates around front end
I Learnt Today, Blog at WordPress.com.
  • Follow Following
    • I Learnt Today
    • Already have a WordPress.com account? Log in now.
    • I Learnt Today
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar