CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 format field date

Print topic Send  topic

Author Message
Marco
Posted: 01/25/2003, 9:16 AM

hi,
pls can you help me?
can you explaim me how i can set format field date?

thankx

N! Xau
Posted: 01/29/2003, 8:30 AM


"Marco" <m.caflisch@mailcity.com> ha scritto nel messaggio
news:b0ugp9$3ck$1@news.codecharge.com...
> hi,
> pls can you help me?
> can you explaim me how i can set format field date?

when you use php, you can do this

$flddatefieldname=date("d.m.y H:i",strtotime("$fldatefieldname"));

to get date in format
29.01.03 17:37
(local time here now!)

cheerio

Manny Ramirez
Posted: 02/11/2003, 7:11 PM

How is this done in ASP?

Thanks
Manny
"N! Xau" <someone@somewhere.intheworld> wrote in message
news:b18vjb$9il$1@news.codecharge.com...
>
> "Marco" <m.caflisch@mailcity.com> ha scritto nel messaggio
>news:b0ugp9$3ck$1@news.codecharge.com...
> > hi,
> > pls can you help me?
> > can you explaim me how i can set format field date?
>
> when you use php, you can do this
>
> $flddatefieldname=date("d.m.y H:i",strtotime("$fldatefieldname"));
>
> to get date in format
> 29.01.03 17:37
> (local time here now!)
>
> cheerio
>
>

Michael Rachow
Posted: 02/18/2003, 1:20 AM

Hi Manny,

what I'm using
'---
function DateFromTimeStamp(ts)
if(not ts = "") then
DateFromTimeStamp = pad2(DatePart("d", ts)) & "." & pad2(DatePart("m",
ts)) & "." & DatePart("yyyy", ts)
else
DateFromTimeStamp = ts
end if
end function
'---
function pad2(was)
if(Len(was)<2) then
pad2 = "0" & was
else
pad2 = was
end if
end function

"Manny Ramirez" <manuelrfm@hotmail.com> schrieb im Newsbeitrag
news:b2ce1g$9qt$1@news.codecharge.com...
> How is this done in ASP?
>
> Thanks
> Manny
> "N! Xau" <someone@somewhere.intheworld> wrote in message
>news:b18vjb$9il$1@news.codecharge.com...
> >
> > "Marco" <m.caflisch@mailcity.com> ha scritto nel messaggio
> >news:b0ugp9$3ck$1@news.codecharge.com...
> > > hi,
> > > pls can you help me?
> > > can you explaim me how i can set format field date?
> >
> > when you use php, you can do this
> >
> > $flddatefieldname=date("d.m.y H:i",strtotime("$fldatefieldname"));
> >
> > to get date in format
> > 29.01.03 17:37
> > (local time here now!)
> >
> > cheerio
> >
> >
>
>


   


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.