franse
asked on
Add hours to system time and show the new time.
ASKER
ASPGuru,
Sorry the question was not posted when you placed your comment. Cause unknown. I 've tried to fix this by reposting the question.
Can you please specify your answer to the question?
Thanks,
Frans
Sorry the question was not posted when you placed your comment. Cause unknown. I 've tried to fix this by reposting the question.
Can you please specify your answer to the question?
Thanks,
Frans
ASKER
Experts,
If someone needs more code please let me know..
Thanks,
Frans
If someone needs more code please let me know..
Thanks,
Frans
ASKER
Experts,
If someone needs more code please let me know..
Thanks,
Frans
If someone needs more code please let me know..
Thanks,
Frans
you haven't posted another Q...
Just write your Q down here...
ASPGuru
Just write your Q down here...
ASPGuru
what's your problem actually?
if my code is not what you wanted, specify your problem exactly..
ASPGuru
if my code is not what you wanted, specify your problem exactly..
ASPGuru
ASKER
Probably to manny characters
I've removed some space and code. Hopefully not to mutch..
sorry,
Frans
I've removed some space and code. Hopefully not to mutch..
sorry,
Frans
ok... so where is it?
also, please maintain your open questions, you still have some old ones.
some experts just ignore questions from people who don't maintain old Qs...
ASPGuru
also, please maintain your open questions, you still have some old ones.
some experts just ignore questions from people who don't maintain old Qs...
ASPGuru
ASKER
Ok again:
A massageboard that will beused in only Holland. And a hosting service with a system time in a other timezone.
I like to add 3 hours to the webserver's time zone to reach the Dutch time zone.
Please use in your answer the code I included in this posting:
-----Code----------------
<table width="80%" cellpadding="2" cellspacing="2" border="0">
<tr><td><font face="<%=abFont%>" size="-1">Aangemaakt door: <%=adoRs.Fields("author_na meStr").Va lue%></fon t></td></t r>
; <tr><td><font face="<%=abFont%>" size="-1">;Wanneer: <%=FormatDateTime(adoRs.Fi elds("msgT ime").Valu e, 2)%> <%=FormatDateTim e(adoRs.Fi elds("msgT ime").Valu e, 3)%></font></td></tr>
---------end of code--------------
A massageboard that will beused in only Holland. And a hosting service with a system time in a other timezone.
I like to add 3 hours to the webserver's time zone to reach the Dutch time zone.
Please use in your answer the code I included in this posting:
-----Code----------------
<table width="80%" cellpadding="2" cellspacing="2" border="0">
<tr><td><font face="<%=abFont%>" size="-1">Aangemaakt door: <%=adoRs.Fields("author_na
; <tr><td><font face="<%=abFont%>" size="-1">;Wanneer: <%=FormatDateTime(adoRs.Fi
---------end of code--------------
ASKER
Ok again:
A massageboard that will beused in only Holland. And a hosting service with a system time in a other timezone.
I like to add 3 hours to the webserver's time zone to reach the Dutch time zone.
Please use in your answer the code I included in this posting:
-----Code----------------
<table width="80%" cellpadding="2" cellspacing="2" border="0">
<tr><td><font face="<%=abFont%>" size="-1">Aangemaakt door: <%=adoRs.Fields("author_na meStr").Va lue%></fon t></td></t r>
; <tr><td><font face="<%=abFont%>" size="-1">;Wanneer: <%=FormatDateTime(adoRs.Fi elds("msgT ime").Valu e, 2)%> <%=FormatDateTim e(adoRs.Fi elds("msgT ime").Valu e, 3)%></font></td></tr>
---------end of code--------------
A massageboard that will beused in only Holland. And a hosting service with a system time in a other timezone.
I like to add 3 hours to the webserver's time zone to reach the Dutch time zone.
Please use in your answer the code I included in this posting:
-----Code----------------
<table width="80%" cellpadding="2" cellspacing="2" border="0">
<tr><td><font face="<%=abFont%>" size="-1">Aangemaakt door: <%=adoRs.Fields("author_na
; <tr><td><font face="<%=abFont%>" size="-1">;Wanneer: <%=FormatDateTime(adoRs.Fi
---------end of code--------------
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
and for the second time this:
<%=FormatDateTime(dateadd( "h",3,adoR s.Fields(" msgTime"). Value), 3)%>
ASPGuru
<%=FormatDateTime(dateadd(
ASPGuru
ASKER
Thanks it works
hours2add = 4
newtime = dateadd("h",hours2add,syst
response.write newtime
ASPGuru