Click here to Skip to main content
15,888,454 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Strange behaviour .net 2/4: The object of type "System.Web.UI.WebControls.Label" can not be converted to type "System.Web.UI.WebControls.TextBox". Pin
F-ES Sitecore26-Jan-17 22:37
professionalF-ES Sitecore26-Jan-17 22:37 
GeneralRe: Strange behaviour .net 2/4: The object of type "System.Web.UI.WebControls.Label" can not be converted to type "System.Web.UI.WebControls.TextBox". Pin
Markus Evacoso22-Jun-17 23:44
Markus Evacoso22-Jun-17 23:44 
Question<Projectname>.config in bin folder Pin
Markus Evacoso25-Jan-17 10:55
Markus Evacoso25-Jan-17 10:55 
AnswerRe: <Projectname>.config in bin folder Pin
ZurdoDev26-Jan-17 0:51
professionalZurdoDev26-Jan-17 0:51 
GeneralRe: <Projectname>.config in bin folder Pin
Markus Evacoso26-Jan-17 20:51
Markus Evacoso26-Jan-17 20:51 
AnswerRe: <Projectname>.config in bin folder Pin
Bryian Tan28-Jan-17 12:46
professionalBryian Tan28-Jan-17 12:46 
QuestionWhat we can do with date and time offset data Pin
Tridip Bhattacharjee24-Jan-17 22:43
professionalTridip Bhattacharjee24-Jan-17 22:43 
AnswerRe: What we can do with date and time offset data Pin
Jochen Arndt24-Jan-17 23:05
professionalJochen Arndt24-Jan-17 23:05 
The offset is the difference between UTC time and local time. To know why it is stored and for what purpose ask the creator of the database.

DateTime stamps should be always stored in UTC. When displaying such values retrieved from a database, they may be converted to local time using the user/system settings.

The only reasons to store the offset might be to show the stamp using the local time of the system that has written the data (not very meaningful) or knowing the time zone where the creator resides.

In your example code the value it is not an offset but a fixed stamp. The real offset would be the difference between the values. So I would name that value LocalTime instead of DateTimeOffset.
GeneralRe: What we can do with date and time offset data Pin
Tridip Bhattacharjee25-Jan-17 0:45
professionalTridip Bhattacharjee25-Jan-17 0:45 
GeneralRe: What we can do with date and time offset data Pin
Jochen Arndt25-Jan-17 1:07
professionalJochen Arndt25-Jan-17 1:07 
GeneralRe: What we can do with date and time offset data Pin
Tridip Bhattacharjee29-Jan-17 22:35
professionalTridip Bhattacharjee29-Jan-17 22:35 
GeneralRe: What we can do with date and time offset data Pin
Jochen Arndt29-Jan-17 22:46
professionalJochen Arndt29-Jan-17 22:46 
QuestionHow to convert client local date and time to UTC date and time Pin
Tridip Bhattacharjee24-Jan-17 22:41
professionalTridip Bhattacharjee24-Jan-17 22:41 
AnswerRe: How to convert client local date and time to UTC date and time Pin
Jochen Arndt24-Jan-17 23:20
professionalJochen Arndt24-Jan-17 23:20 
GeneralRe: How to convert client local date and time to UTC date and time Pin
Tridip Bhattacharjee25-Jan-17 0:53
professionalTridip Bhattacharjee25-Jan-17 0:53 
GeneralRe: How to convert client local date and time to UTC date and time Pin
Jochen Arndt25-Jan-17 1:14
professionalJochen Arndt25-Jan-17 1:14 
GeneralRe: How to convert client local date and time to UTC date and time Pin
Tridip Bhattacharjee29-Jan-17 22:33
professionalTridip Bhattacharjee29-Jan-17 22:33 
GeneralRe: How to convert client local date and time to UTC date and time Pin
Jochen Arndt29-Jan-17 22:55
professionalJochen Arndt29-Jan-17 22:55 
QuestionWhat is the difference between integration testing, regression testing and unit testing Pin
Tridip Bhattacharjee22-Jan-17 21:38
professionalTridip Bhattacharjee22-Jan-17 21:38 
AnswerRe: What is the difference between integration testing, regression testing and unit testing Pin
F-ES Sitecore22-Jan-17 23:15
professionalF-ES Sitecore22-Jan-17 23:15 
GeneralRe: What is the difference between integration testing, regression testing and unit testing Pin
Tridip Bhattacharjee23-Jan-17 21:31
professionalTridip Bhattacharjee23-Jan-17 21:31 
GeneralRe: What is the difference between integration testing, regression testing and unit testing Pin
F-ES Sitecore23-Jan-17 21:59
professionalF-ES Sitecore23-Jan-17 21:59 
GeneralRe: What is the difference between integration testing, regression testing and unit testing Pin
Nathan Minier24-Jan-17 1:01
professionalNathan Minier24-Jan-17 1:01 
GeneralRe: What is the difference between integration testing, regression testing and unit testing Pin
F-ES Sitecore24-Jan-17 5:24
professionalF-ES Sitecore24-Jan-17 5:24 
GeneralRe: What is the difference between integration testing, regression testing and unit testing Pin
Nathan Minier24-Jan-17 5:52
professionalNathan Minier24-Jan-17 5:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.