Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8009805
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T18:33:09+00:00 2026-06-04T18:33:09+00:00

I create asp.net mvc application using mysql as the database in the back end.

  • 0

I create asp.net mvc application using mysql as the database in the back end.
But I confused with the way it store the date data.
For e.g. I put 06-03-2012 in the input field, and after saved, in my development computer it will show March 6, 2012 which is exactly what I want, but when I run the application in the server (published application), it will give me; June 3, 2012.
The mysql server both in my development computer and in the server is the same version.

Here is the code I use to get the input:

 <tr>
   <td>@Html.LabelFor(m => m.Tanggal)
   </td>
   <td>
       @Html.EditorFor(m => m.Tanggal)
       @Html.ValidationMessageFor(m => m.Tanggal)
   </td>
 </tr>

What should I do to fix that?
Thanks in advance for the help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T18:33:12+00:00Added an answer on June 4, 2026 at 6:33 pm

    In your web.config, change the culture :

    <globalization uiCulture="en-US" culture="en-US" />
    

    The globalization is a child node of the system.web node.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to create a web application using ASP.NET MVC, jQuery and web standards
I am using FckEditor in Create.aspx page in asp.net mvc application. Since I need
I am new in Asp.net MVC.i have created mvc application using datasource but i
I am trying to create an ASP.NET MVC application, using Spring.NET to inject dependencies.
I'm trying to create a quick ASP.NET MVC 3 application using the RC version
I followed this tutorial to create a sample Login application using ASP.NET MVC I
Im looking to create a web application using ASP.NET MVC or PHP (not decided
what is the preferred practice when linq2sql using (in asp.net mvc applications): to create
I have an ASP.NET MVC 3 application which has a post action called Create
I'm developing an website using asp.net mvc with MySQL and I need to make

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.