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. > Didattica > Corsi A - F > Basi di dati ~ comunicazione digitale > [HELP] ennesimo problema formato data!!
  Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
morf
e.Vanishing guy

User info:
Registered: Nov 2002
Posts: 1856 (0.22 al dì)
Location: Treviglio (BG)
Corso: TICO
Anno: primo
Time Online: 5 Days, 11:35:09: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
[HELP] ennesimo problema formato data!!

salve a tutti ... apro questo thread perchè non so proprio come risolvere questo problema.
premettendo che ho già sfogliato qualche thread qui e molte pagine in internet riguardo al problema dei conflitti dei formati delle date, vi espongo la mia situazione.

sto facendo il progetto con asp+access, in asp ho la variabile session("insData") in cui è contenuta la data per la prenotazione di un convegno. su questa data ho già applicato, in prove differenti, vari metodi per la standardizzazione del formato (come cDate e FormatDateTime), difatti in asp essa viene inquadrata correttamente. Il problema arriva quando viene eseguito l'insert della prenotazione del convegno nel database: se la mia session("insData") è 23/07/04 nel db diventa 04/07/2023, invertendo cioè giorno e anno diventando americana. in asp ho già fatto il massimo che potevo fare visto che la variabile è correttissima, in access non ho trovato come evitare che la data sia cambiata (ho access in italiano e le altre date già presenti nel database le ho ovviamente inserite da tastiera, senza nessun problema).

help :(

__________________
mail, msn and steam account: morf@email.it
my blog: http://melien.blogspot.com
my shots: http://mr-anf.deviantart.com


" ... fear is how I fall ... "

23-06-2004 11:43
Click Here to See the Profile for morf Click here to Send morf a Private Message Visit morf's homepage! Find more posts by morf Add morf to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
massimog
.novellino.

User info:
Registered: Jun 2004
Posts: 3 (0.00 al dì)
Location: Novara
Corso: Scienze della Informazione
Anno: Fuori Corso
Time Online: 2:47:41 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Ho usato access+asp per qualche tempo prima di passare a oracle+php, comunque ci provo.

Le modifiche nel db le fai usando stringhe SQL? Hai provato a mettere la data tra cancelletti nella stringa SQL? Ad esempio #25/12/04#.

Usi per caso IIS o Access in inglese?

Ciao, spero di essere stato utile.

25-06-2004 15:11
Click Here to See the Profile for massimog Click here to Send massimog a Private Message Visit massimog's homepage! Find more posts by massimog Add massimog to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
futurbaggio
U Frikkettone

User info:
Registered: Feb 2003
Posts: 774 (0.09 al dì)
Location: Foggia
Corso: TIC
Anno: 1° Magistrale
Time Online: 13 Days, 16:44:00: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

allora recupera giorno, mese e anno della tua sessione utilizzando le funzioni Day(data_session), Month(data_session) e Year(data_session)

Poi fai

"INSERT INTO tabella (data) VALUES (#"& Year&"/"&Month(...)&"/"&Day(...) &"#)"

Amen!

Roberto

__________________
E lo sceriffo americano non lo sa / ma quando parla ride tutta la città / vile fellone vieni a singolar tenzone / unza unza umpappà troppe truppe mariscià.
Non ci voleva l'eruzione della lava / e due piccioni si contendono la fava / sposa bagnata, bambina svergognata / la questione è delicata / come bolle la patata.
Basta! E' finita la festa
[L'ovile delle vanità, Folkabbestia]

25-06-2004 18:01
Click Here to See the Profile for futurbaggio Click Here to See the Blog of futurbaggio Click here to Send futurbaggio a Private Message Visit futurbaggio's homepage! Find more posts by futurbaggio Add futurbaggio to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
morf
e.Vanishing guy

User info:
Registered: Nov 2002
Posts: 1856 (0.22 al dì)
Location: Treviglio (BG)
Corso: TICO
Anno: primo
Time Online: 5 Days, 11:35:09: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

massimog: già messi, iis e access in ita :)

futurbaggio: lo so che cosi funziona :D ma volevo evitare quel metodo visto che mi aveva creato dei problemi che non sto qui ad elencare :D ... cmq forse ho trovato come verificare ed eventualmente scambiare le date da dentro access, vi tengo informati .... grazie per avermi risposto :)

__________________
mail, msn and steam account: morf@email.it
my blog: http://melien.blogspot.com
my shots: http://mr-anf.deviantart.com


" ... fear is how I fall ... "

25-06-2004 20:23
Click Here to See the Profile for morf Click here to Send morf a Private Message Visit morf's homepage! Find more posts by morf Add morf to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 20:21.    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.057 seconds (52.23% PHP - 47.77% MySQL) con 26 query.