CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 converting date

Print topic Send  topic

Author Message
Chris__T


Posts: 339
Posted: 08/29/2007, 9:14 AM

I must have a brain cloud because I can't seem to figure this out. And I know I've done it before!

A label on my page is showing the date from a mysql database field. Nothing hard there. But it's showing up as 2007-07-10 00:0

I'm was going to use DATE_FORMATE(label, '%c %d %Y') to convert it to looks like 07-10-2007 but I can't figure out where to put it.
View profile  Send private message
wkempees
Posted: 08/29/2007, 2:38 PM

click the label, properties set Format the required dateformat??

to"Chris__T" <Chris__T@forum.codecharge> schreef in bericht
news:646d59b7e8852b@news.codecharge.com...
>I must have a brain cloud because I can't seem to figure this out. And I
>know
> I've done it before!
>
> A label on my page is showing the date from a mysql database field.
> Nothing
> hard there. But it's showing up as 2007-07-10 00:0
>
> I'm was going to use DATE_FORMATE(label, '%c %d %Y') to convert it to
> looks
> like 07-10-2007 but I can't figure out where to put it.
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

Chris__T


Posts: 339
Posted: 08/30/2007, 8:40 AM

Argh! Thanks Walter. I had tried that before, and it was loading up a blank page in the web browser. So I didn't know what was going on. I looked deeper and lo and behold, the field type in the actual database was a varchar, not a date! Doh! Changed it and everything works fine. Thanks.
View profile  Send private message
wkempees
Posted: 08/30/2007, 12:18 PM

contrary to the general opinion not all is wrong with CCS, lol.

"Chris__T" <Chris__T@forum.codecharge> schreef in bericht
news:646d6e508a4a99@news.codecharge.com...
> Argh! Thanks Walter. I had tried that before, and it was loading up a
> blank
> page in the web browser. So I didn't know what was going on. I looked
> deeper
> and lo and behold, the field type in the actual database was a varchar,
> not a
> date! Doh! Changed it and everything works fine. Thanks.
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

Chris__T


Posts: 339
Posted: 08/31/2007, 12:00 PM

LOL...exactly! :-D
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.