Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Thanks for your reply, I have done what you have suggested but the date and time seems to be taken from the Client pc and not the server hosting the ASP.Net page.

 

Any suggestions would be greatly appreciated.

Posted

<script runat="server">

 

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)

Me.Title = "Forums (" & DateValue(Now()) & ")"

If Month(DateValue(DateTime.Now)) > 6 And Month(DateValue(DateTime.Now)) < 10 Then New.Visible = True

End Sub

</script>

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...