Click here to Skip to main content
15,867,453 members
Home / Discussions / C#
   

C#

 
AnswerRe: AI in c# Pin
Gerry Schmitz28-Sep-16 13:20
mveGerry Schmitz28-Sep-16 13:20 
AnswerRe: AI in c# Pin
Abhinav S2-Oct-16 16:56
Abhinav S2-Oct-16 16:56 
QuestionHelp with "Invoke or BeginInvoke cannot be called on a control until the window handle has been created." Pin
turbosupramk328-Sep-16 6:28
turbosupramk328-Sep-16 6:28 
AnswerRe: Help with "Invoke or BeginInvoke cannot be called on a control until the window handle has been created." Pin
Richard Deeming28-Sep-16 7:23
mveRichard Deeming28-Sep-16 7:23 
GeneralRe: Help with "Invoke or BeginInvoke cannot be called on a control until the window handle has been created." Pin
turbosupramk328-Sep-16 7:27
turbosupramk328-Sep-16 7:27 
QuestionCreate PDF from iTextSharp in Unity3d for iOS Pin
Radiance Cosmedic Centre28-Sep-16 0:41
Radiance Cosmedic Centre28-Sep-16 0:41 
AnswerRe: Create PDF from iTextSharp in Unity3d for iOS Pin
Richard MacCutchan28-Sep-16 2:36
mveRichard MacCutchan28-Sep-16 2:36 
QuestionDateTime ISO 8601 Format Pin
tadhg8827-Sep-16 23:52
tadhg8827-Sep-16 23:52 
First of all my apologies if this is in the wrong forum, i'm sure i will find out very quickly if it is D'Oh! | :doh:

So basically i am writing an API that needs to return the running date and time of tours including the offset, this format "2016-12-05T10:00:00+02:00", these tours can be in England or Italy so they run in two different timezones and should have a different offset.
Our API and DB run on servers in the US, all the running times are stored in the db as a datetime, without any offset, without anything to distinguish the timezones they run in bar the fact they are linked to different countries.

I'm just wondering what the coorect process is here, i have spent ages reading up on this and i think I'm more confused than when i started.

I am thinking that maybe i need to get the running date as a universal datetime and decrease this datetime for the English tours but i'm not sure how i can update the date to have a different offset, how to set/change the date so it knows its in a different timezone.

Any guidance, advice or suggestions of an appropriate blog/article to put me on the correct track would really be appreciated, thanks very much in advance.
AnswerRe: DateTime ISO 8601 Format Pin
Daniel Pfeffer28-Sep-16 0:00
professionalDaniel Pfeffer28-Sep-16 0:00 
GeneralRe: DateTime ISO 8601 Format Pin
OriginalGriff28-Sep-16 0:25
mveOriginalGriff28-Sep-16 0:25 
GeneralRe: DateTime ISO 8601 Format Pin
Ravi Bhavnani28-Sep-16 3:45
professionalRavi Bhavnani28-Sep-16 3:45 
GeneralRe: DateTime ISO 8601 Format Pin
tadhg8828-Sep-16 23:30
tadhg8828-Sep-16 23:30 
GeneralRe: DateTime ISO 8601 Format Pin
Daniel Pfeffer29-Sep-16 0:54
professionalDaniel Pfeffer29-Sep-16 0:54 
QuestionDatamodel for Survey Form Pin
Member 1204569227-Sep-16 22:57
Member 1204569227-Sep-16 22:57 
AnswerRe: Datamodel for Survey Form Pin
Gerry Schmitz28-Sep-16 8:09
mveGerry Schmitz28-Sep-16 8:09 
GeneralRe: Datamodel for Survey Form Pin
Member 1204569228-Sep-16 21:15
Member 1204569228-Sep-16 21:15 
QuestionColumn sum of multiple columns of dynamic gridview using Javascript Pin
SREENATH GANGA27-Sep-16 21:57
SREENATH GANGA27-Sep-16 21:57 
AnswerRe: Column sum of multiple columns of dynamic gridview using Javascript Pin
Pete O'Hanlon27-Sep-16 23:20
subeditorPete O'Hanlon27-Sep-16 23:20 
QuestionDelegates with Events Pin
Member 1116162526-Sep-16 18:01
Member 1116162526-Sep-16 18:01 
AnswerRe: Delegates with Events Pin
Pete O'Hanlon26-Sep-16 19:36
subeditorPete O'Hanlon26-Sep-16 19:36 
GeneralRe: Delegates with Events Pin
Rahul VB27-Sep-16 23:04
professionalRahul VB27-Sep-16 23:04 
QuestionError Making Method Async Pin
Kevin Marois24-Sep-16 12:13
professionalKevin Marois24-Sep-16 12:13 
AnswerRe: Error Making Method Async Pin
George Swan24-Sep-16 12:43
mveGeorge Swan24-Sep-16 12:43 
AnswerRe: Error Making Method Async Pin
Pete O'Hanlon24-Sep-16 21:31
subeditorPete O'Hanlon24-Sep-16 21:31 
SuggestionRe: Error Making Method Async Pin
Richard Deeming26-Sep-16 1:52
mveRichard Deeming26-Sep-16 1: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.