I think you can use something like:
response.write(dMyLongDate.tostring("dd/MM/yy"))
Regards,
Stu
"Salim Afþar" <sa****@luckyeye.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Hi,
How can I cast from datetime type to smalldatetime type.
I get the records from a table which has got a datetime type column but I
want to display it smalldatetime format.
Thanks,
Salim
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (
http://www.grisoft.com).
Version: 6.0.505 / Virus Database: 302 - Release Date: 30/07/2003