asp.net mvc 4 - At time to result -


my code:

[displayformat(applyformatineditmode = true, dataformatstring = "{0:mm:ss.fff}")] public datetime? time { get; set; } 

question:

when try @ time, have add "0:" before time.. know how enter without "0:"?

(i need enter athletics time.)

look @ annotations yo uadded time field:

dataformatstring = "{0:mm:ss.fff}" 

this won't match with:

0:mm:ss.fff 01:17.123 

but with

 0:01:17.123  0:mm:ss.fff 

hence why 0:01:17.123 works yet 01:17.123 doesn't


Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -