Oct 19, 2006 #1 rochnn Technical User Joined Sep 16, 2006 Messages 9 Location US Hello, Is there a way to get just the Year and the another statement for the Month Number, and one more for the day number?
Hello, Is there a way to get just the Year and the another statement for the Month Number, and one more for the day number?
Oct 19, 2006 1 #2 Sheco Programmer Joined Jan 3, 2005 Messages 5,457 Location US x = Year(Now) Upvote 0 Downvote
Oct 19, 2006 Thread starter #3 rochnn Technical User Joined Sep 16, 2006 Messages 9 Location US ahhh very cool one more quick question could I do this Code: <% dim year year = Year(Now()) if year = 2006 then "G" end if%> Upvote 0 Downvote
ahhh very cool one more quick question could I do this Code: <% dim year year = Year(Now()) if year = 2006 then "G" end if%>
Oct 19, 2006 #4 Sheco Programmer Joined Jan 3, 2005 Messages 5,457 Location US Code: <% Dim CurrentYear Dim SomeThing CurrentYear = Year(Now) If CurrentYear = 2006 Then SomeThing = "G" End If %> Upvote 0 Downvote
Code: <% Dim CurrentYear Dim SomeThing CurrentYear = Year(Now) If CurrentYear = 2006 Then SomeThing = "G" End If %>
Oct 19, 2006 #5 DotNetGnat Programmer Joined Mar 10, 2005 Messages 5,548 Location IN may be you want to write output...if that is the case then: If CurrentYear = 2006 Then Response.write "G" End If -DNG Upvote 0 Downvote
may be you want to write output...if that is the case then: If CurrentYear = 2006 Then Response.write "G" End If -DNG