Date format in American (ASP)
OK so I know that this should be easy.
My computer is setup so that dates are displayed in english format dd/mm/yyyy.
I am designing ASP pages and want a readonly field that takes its value from =(now). he result is always in American format mm/dd/yyyy.
See code:
<td><span id="spryID">
<input name="id" type="text" id="id" value="<%=(now)%>" readonly="readonly" />
</span></td>
Output is always:
1/20/2010 09:34:52 AM and not 20/1/2010 09:34:52 AM
How can I format the output to get the corect format I require?
