473,416 Members | 1,738 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,416 software developers and data experts.

Aiuto per formato data

Salve a tutti.
Ho uno script asp per un guestbook che funziona a meraviglia se non che
interpreta le date in formato USA.
Oggi 7 dicembre lo fa diventare 12 luglio.
Capisco molto poco di asp, penso di dover modificare a funzione.

Function ConvDate(passDate)
ConvDate = DatePart("yyyy", passDate) & "-" & DatePart("m", passDate)
& "-" & DatePart("d", passDate) & " "
ConvDate = ConvDate & DatePart("h", passDate) & ":" & DatePart("n",
passDate) & ":" & DatePart("s", passDate)
End Function

Se è così, come? Ho provato a invertire "yyyy" con "d" e anche "m"
con "d" ma non cambia nulla.
Oppure devo cambiare qualcosa nel database access?

Non ho proprio idea di cosa dover fare. Qualcuno può darmi un aiuto?
Grazie infinite a chiunqe risponderà.
Dante

Dec 7 '05 #1
0 2570

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Fil. S. | last post by:
Ho un paio di problemi che non sono riuscito a risolvere: Contesto: Access 2000; Dati su MSDE; front end progetto ADP access 2000; 1) primo problema Con access 2000 funziona tutto...
0
by: Francesco | last post by:
Ciao a tutti... Premetto che non sono molto pratico di MySql (anche se ho già fatto qualche piccola applicazione che sfrutta questo DBMS) Ho un problema da risolvere molto importante. Ho un...
0
by: NicK chlam via DotNetMonster.com | last post by:
this is the error i get System.Data.OleDb.OleDbException: Syntax error in INSERT INTO statement. at System.Data.Common.DbDataAdapter.Update(DataRow dataRows, DataTableMapping tableMapping) at...
3
by: bbernieb | last post by:
Hi, All, Is it possible to access a variable inside of a data binding, without the variable being out of scope? (Note: On the DataBinder line, I get an error message that says "Name 'i' is...
5
by: Gene | last post by:
What can I do if I want to get the result using the sql command? for example, the select command is "select Name from Employee where StaffID=10" How to get the "Name"??? dim Name as string and...
5
by: DC Gringo | last post by:
I am having a problem reading a simple update to the database. Basically I'm testing a small change to the pubs database -- changing the price of the Busy Executive's Database Guide from 19.99 to...
2
by: Vitrium | last post by:
Hola a todos.... toy un poco desesperado.. a ver si me podeis echar una mano... gracias .... Quiero insertar desde visual basic un numero decimal tipo 0,50 en un campo tipo real de sql server,...
14
by: Rolf Welskes | last post by:
Hello, I have an ObjectDataSource which has as business-object a simple array of strings. No problem. I have an own (custom) control to which I give the DataSourceId and in the custom-control...
0
by: valzi | last post by:
Salve a tutti, dovrei scrive questo programma in linguaggio visual basic.....solo che non ho molta dimestichezza con questo linguaggio.....c'è qualcuno che può darmi un aiuto o una dritta su come...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.