kennyaidan
Programmer
Hi,
I am just beginning to learn asp.net and i am learning the basics through some very simple examples. The following code just ouputs the todays date ie "4/12/2003"
<script runat="server">
Sub Page_Load(Sender as Object, E As EventArgs)
Dim time = now()
time = FormatDateTime(time, vbshortDate)
response.write (time)
End sub
</script>
Is it possible to print out the date in the following format ddmmyyyy ie "20030412", if it is possible could someone point me in the right diresction
thanks
aidan
I am just beginning to learn asp.net and i am learning the basics through some very simple examples. The following code just ouputs the todays date ie "4/12/2003"
<script runat="server">
Sub Page_Load(Sender as Object, E As EventArgs)
Dim time = now()
time = FormatDateTime(time, vbshortDate)
response.write (time)
End sub
</script>
Is it possible to print out the date in the following format ddmmyyyy ie "20030412", if it is possible could someone point me in the right diresction
thanks
aidan