|
-
Apr 19th, 2007, 09:29 AM
#1
Thread Starter
Lively Member
Setting a Specific Time on a Date variable?
Hi All
i have two date variables
Dim dtDate as Date
Dim dtTime as Date
dtDate = "4/19/2007 15:00:00"
dtTime = "1/1/1900 18:00:00"
I want to set the time of dtTime on dtDate without changing the date
so that
Dim dtOutput as date
dtOutPut = "4/19/2007 18:00:00"
I know this is probably possible with string manipulation etc
is there a more cleverer way of doing this using .net functions etc!>??
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|