Dsy Network www | forum | my | didattica | howto | wiki | el goog | stats | blog | dona | rappresentanti
Homepage
 Register   Calendar   Members  Faq   Search  Logout 
.dsy:it. : Powered by vBulletin version 2.3.1 .dsy:it. > Community > Tech > [PHP] Invertire data
  Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
Teju
:L'anti - anti-global!!:

User info:
Registered: Dec 2001
Posts: 1394 (0.16 al dì)
Location: Cassina Beach
Corso: Info
Anno: 3° ...circa...
Time Online: 5 Days, 8:26:51 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
[PHP] Invertire data

Ciao, se ho un DB contenente un campo con data in formato inglese, come posso metterla a video in formato italiano??

Grazie!

__________________
Teju.it - Una vita da raccontare

19-10-2006 11:34
Click Here to See the Profile for Teju Click Here to See the Blog of Teju Click here to Send Teju a Private Message Visit Teju's homepage! Find more posts by Teju Add Teju to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
foolish
bleak

User info:
Registered: Oct 2003
Posts: 3585 (0.44 al dì)
Location:
Corso:
Anno:
Time Online: 36 Days, 7:28:56 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

che db stai usando?

__________________
The only way to discover the limits of the possible is to go beyond them into the impossible.
Arthur C. Clarke.

19-10-2006 11:45
Click Here to See the Profile for foolish Click Here to See the Blog of foolish Click here to Send foolish a Private Message Find more posts by foolish Add foolish to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
FabryProg
.consigliere.

User info:
Registered: Oct 2006
Posts: 116 (0.02 al dì)
Location: Novara
Corso: Informatica (Magistrale)
Anno: matricola magistrale?
Time Online: 11:09:01: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

si fa cosi'

date( 'd-m-Y', strtotime($myField) );

indipendentemente dal db

19-10-2006 13:11
Click Here to See the Profile for FabryProg Click here to Send FabryProg a Private Message Visit FabryProg's homepage! Find more posts by FabryProg Add FabryProg to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Teju
:L'anti - anti-global!!:

User info:
Registered: Dec 2001
Posts: 1394 (0.16 al dì)
Location: Cassina Beach
Corso: Info
Anno: 3° ...circa...
Time Online: 5 Days, 8:26:51 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by FabryProg
si fa cosi'

date( 'd-m-Y', strtotime($myField) );

indipendentemente dal db

Gratias! :-D

__________________
Teju.it - Una vita da raccontare

19-10-2006 13:46
Click Here to See the Profile for Teju Click Here to See the Blog of Teju Click here to Send Teju a Private Message Visit Teju's homepage! Find more posts by Teju Add Teju to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
foolish
bleak

User info:
Registered: Oct 2003
Posts: 3585 (0.44 al dì)
Location:
Corso:
Anno:
Time Online: 36 Days, 7:28:56 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

per comodità si possono usare delle funzioni a seconda del db per far ritornare la data nel formato voluto. indipendentemente dal linguaggio.

__________________
The only way to discover the limits of the possible is to go beyond them into the impossible.
Arthur C. Clarke.

19-10-2006 14:04
Click Here to See the Profile for foolish Click Here to See the Blog of foolish Click here to Send foolish a Private Message Find more posts by foolish Add foolish to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Teju
:L'anti - anti-global!!:

User info:
Registered: Dec 2001
Posts: 1394 (0.16 al dì)
Location: Cassina Beach
Corso: Info
Anno: 3° ...circa...
Time Online: 5 Days, 8:26:51 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

sì, ma io il DB nn posso modificarlo, devo mandare a video in PHP la data!
Grazie lo stesso!

Ciao ciao

__________________
Teju.it - Una vita da raccontare

19-10-2006 14:09
Click Here to See the Profile for Teju Click Here to See the Blog of Teju Click here to Send Teju a Private Message Visit Teju's homepage! Find more posts by Teju Add Teju to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 13:00.    Post New Thread    Post A Reply
  Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread | Add to Bookmarks

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

Powered by: vBulletin v2.3.1 - Copyright ©2000 - 2002, Jelsoft Enterprises Limited
Mantained by dsy crew (email) | Collabora con noi | Segnalaci un bug | Archive | Regolamento | Licenze | Thanks | Syndacate
Pagina generata in 0.156 seconds (63.81% PHP - 36.19% MySQL) con 24 query.