Click here to Skip to main content
15,791,602 members
Home / Discussions / C#
   

C#

 
GeneralArgument-substitution vs Concatenation Pin
Alvaro Mendez16-Apr-03 5:37
Alvaro Mendez16-Apr-03 5:37 
GeneralRe: Argument-substitution vs Concatenation Pin
Alex Korchemniy16-Apr-03 6:54
Alex Korchemniy16-Apr-03 6:54 
GeneralRe: Argument-substitution vs Concatenation Pin
James T. Johnson16-Apr-03 8:00
James T. Johnson16-Apr-03 8:00 
GeneralRe: Argument-substitution vs Concatenation Pin
Paul Ingles16-Apr-03 8:56
Paul Ingles16-Apr-03 8:56 
GeneralRe: Argument-substitution vs Concatenation Pin
Adam Turner16-Apr-03 13:42
Adam Turner16-Apr-03 13:42 
GeneralRe: Argument-substitution vs Concatenation Pin
leppie16-Apr-03 13:54
leppie16-Apr-03 13:54 
GeneralDateTime Operation Pin
Mazdak16-Apr-03 4:52
Mazdak16-Apr-03 4:52 
GeneralRe: DateTime Operation Pin
Jim Stewart16-Apr-03 5:21
Jim Stewart16-Apr-03 5:21 
See the AddHours method[^] or the Subtraction operator[^]. Both will do nicely.

And don't forget to visit the TimeSpan [^]object.

Try:
C#
DateTime nm6 = DateTime.Now - new TimeSpan (6, 0, 0);

α.γεεκ

Fortune passes everywhere.
Duke Leto Atreides


GeneralRe: DateTime Operation Pin
Mazdak16-Apr-03 5:42
Mazdak16-Apr-03 5:42 
GeneralLoad File Pin
Mazdak16-Apr-03 3:48
Mazdak16-Apr-03 3:48 
GeneralRe: Load File Pin
Chris Austin16-Apr-03 6:19
Chris Austin16-Apr-03 6:19 
GeneralRe: Load File Pin
Mazdak16-Apr-03 9:15
Mazdak16-Apr-03 9:15 
GeneralCheck if a windows service is installed Pin
AndyLatham16-Apr-03 3:20
AndyLatham16-Apr-03 3:20 
GeneralRe: Check if a windows service is installed Pin
Mazdak16-Apr-03 3:52
Mazdak16-Apr-03 3:52 
GeneralRe: Check if a windows service is installed Pin
AndyLatham16-Apr-03 5:06
AndyLatham16-Apr-03 5:06 
GeneralRe: Check if a windows service is installed Pin
Mazdak16-Apr-03 5:42
Mazdak16-Apr-03 5:42 
GeneralRe: Check if a windows service is installed Pin
AndyLatham16-Apr-03 6:04
AndyLatham16-Apr-03 6:04 
GeneralRe: Check if a windows service is installed Pin
sludgenz29-Oct-08 17:22
sludgenz29-Oct-08 17:22 
GeneralRe: Check if a windows service is installed Pin
AnnDunbar19-Jan-09 5:55
AnnDunbar19-Jan-09 5:55 
GeneralTerminate C# app at system shutdown Pin
pahlsson15-Apr-03 23:19
pahlsson15-Apr-03 23:19 
GeneralRe: Terminate C# app at system shutdown Pin
perlmunger16-Apr-03 7:07
perlmunger16-Apr-03 7:07 
GeneralRe: Terminate C# app at system shutdown Pin
pahlsson16-Apr-03 7:10
pahlsson16-Apr-03 7:10 
GeneralRe: Terminate C# app at system shutdown Pin
perlmunger16-Apr-03 7:56
perlmunger16-Apr-03 7:56 
GeneralRe: Terminate C# app at system shutdown Pin
Jon Newman16-Apr-03 7:31
Jon Newman16-Apr-03 7:31 
GeneralRe: Terminate C# app at system shutdown Pin
James T. Johnson16-Apr-03 8:12
James T. Johnson16-Apr-03 8:12 

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.