🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.aspdotnet.components.using
Article #246

Re: How do I show a date without time in a TDBWebLabel?

#246
From: Chester Severien
Date: Thu, 01 Dec 2005 14:33
25 lines
1443 bytes
Thanks a lot for the following answer.

Reset the .DateTimeFormatInfo.LongTimePattern.

For example write :
System.Globalization.DateTimeFormatInfo.CurrentInfo.LongTimePattern="";

in Global.asax.Application_BeginRequest()


"Chester Severien" <c.severien@isah.com> ha scritto nel messaggio 
news:434f72cb$1@newsgroups.borland.com...
> I've used a aTDBWebLabel to show a Microsoft Access date column, but I 
> can't get rid of the time part '00:00:00'.
>
> Any suggestions?
>
> Chester
>



--------------=  Posted using GrabIt  =----------------
------=  Binary Usenet downloading made easy =---------
-=  Get GrabIt for free from http://www.shemes.com/  =-
Technical Details
Message-ID: <438f093d$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!meganewsservers.com!feeder2.on.meganewsservers.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 21665a,12e7e4cfda731eea,start
X-Google-Attributes: gid21665a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Chester Severien" <c.severien@isah.com>
Subject: Re: How do I show a date without time in a TDBWebLabel?
Newsgroups: borland.public.delphi.aspdotnet.components.using
Date: Thu, 1 Dec 2005 15:33:58 +0100
NNTP-Posting-Host: 213.84.36.192
Message-ID: <438f093d$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1133447485 213.84.36.192 (1 Dec 2005 06:31:25 -0700)
Lines: 26
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!meganewsservers.com!feeder2.on.meganewsservers.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail