Skip to main content
October 4, 2006
Question

Problema con le date

  • October 4, 2006
  • 3 replies
  • 348 views
Dopo aver fatto l'aggiornamento con l'updater 8.0.2 ho problemi con le date con il comportamento Aggiorna Record: la data nel db viene aggiornata con mese e giorno invertiti. Esempio se inserisco nel modulo 25/09/2006 dreamweaver aggiorna il db con 09/25/2006.
Allora sono costretto a far inserire agli utenti prima il mese e poi il giorno, però se quel campo non deve essere aggrionato lui lo cambia comunque invertendolo quindi quel campo va sempre verificato.
Capita a qualcun altro?
Io credo che sia un problema della versione italiana.
Grazie, saluti.
This topic has been closed for replies.

3 replies

Inspiring
October 4, 2006
If you're using sessions, set
<%Session.LCID = 1040%>
when the user logs in.

If you're not using sessions, put
<%@LCID=1040%>
at the top of every page where you will use date or currency formatting.

If that still doesn't help, then it might be a database setting; I'm not
familiar enough with Access to help you there, though.


"altamarea18" <webforumsuser@macromedia.com> wrote in message
news:eg17qa$ccj$1@forums.macromedia.com...
> I'm using ASP with a db Access, the web server is located in Italy


October 4, 2006
I'm using ASP with a db Access, the web server is located in Italy
Inspiring
October 4, 2006
Dreamweaver 8.0.2 made a lot of changes to recordsets and server behaviors.
Most problems are related to the fact that DW now uses ADO parameters for
its queries rather than issuing plain text commands. If an ADO date/time
parameter is used, then your text string will be converted to a date. If
the location settings of the web server and database server are different,
this can cause unexpected results.

Are you using ASP, ColdFusion, PHP, or JSP? SQL Server, MySQL, Access, or
other?


"altamarea18" <webforumsuser@macromedia.com> wrote in message
news:eg15vo$a7v$1@forums.macromedia.com...
> Dopo aver fatto l'aggiornamento con l'updater 8.0.2 ho problemi con le
> date con
> il comportamento Aggiorna Record: la data nel db viene aggiornata con mese
> e
> giorno invertiti. Esempio se inserisco nel modulo 25/09/2006 dreamweaver
> aggiorna il db con 09/25/2006.
> Allora sono costretto a far inserire agli utenti prima il mese e poi il
> giorno, però se quel campo non deve essere aggrionato lui lo cambia
> comunque
> invertendolo quindi quel campo va sempre verificato.
> Capita a qualcun altro?
> Io credo che sia un problema della versione italiana.
> Grazie, saluti.
>