-
Display format of Dates
I am told that in the UK the dates I display from my Access database using ASP-db Pro are in American format, and do not default to the machine local setting. Is there away around this?
many thanks
Phillip Jones
-
Display format of Dates (reply)
Hi Phillip,
You can use FULL VB formatting in dbMagicCell. Look at the following code:
<%
Response.write("<center><h3> Test Magic Cell - Date<BR></h3></center>"
Set X=Server.CreateObject("AspDB.Pro"
X.dbQuickProps="13;NWIND;orders;grid;4,auto,li ghtgreen"
X.dbMagicCell="ShippedDate,,Format=[MM/DD/YY hh:mm:ss]"
X.ASPdbPro
%>
Replace the format string inside the [...] to the one that fits your need.
Hope this helps,
John
On 2/25/99 5:54:06 AM, Phillip Jones wrote:
> I am told that in the UK the dates I display from my Access database using
> ASP-db Pro are in American format, and do not default to the machine local
> setting. Is there away around this?
many thanks
Phillip Jones
-
Display format of Dates (reply)
On 2/25/99 12:56:04 PM, John wrote:
> Hi Phillip,
You can use FULL VB formatting in dbMagicCell. Look at the
> following code:
<%
Response.write("<center><h3> Test Magic Cell -
> Date<BR></h3></center>"
Set
> X=Server.CreateObject("AspDB.Pro"
> X.dbQuickProps="13;NWIND;orders;grid;4,auto,li ghtgreen"
> X.dbMagicCell="ShippedDate,,Format=[MM/DD/YY hh:mm:ss]"
> X.ASPdbPro
%>
Replace the format string inside the [...] to the one
> that fits your need.
Hope this helps,
John
On 2/25/99 5:54:06 AM,
> Phillip Jones wrote:
> I am told that in the UK the dates I display from
> my Access database using
> ASP-db Pro are in American format, and do not
> default to the machine local
> setting. Is there away around
> this?
many thanks
Phillip Jones
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|