Dim date1 As Date = #3/7/2008 7:00:00 AM#
Label1.Text = date1.ToString()
Dim date2 As Date = #3/7/2008 7:00:00 AM#
Label2.Text = date1.ToString(System.Globalization.CultureInfo.CreateSpecificCulture("en-US"))
it was a culture issue indeed, thanks for that Luc001.
here is my code:
Private Function tidyDate(ByVal datetimeval As String) As String
Dim dt As New DateTime()
dt = DateTime.Parse(datetimeval, System.Globalization.CultureInfo.CreateSpecificCulture("en-US"))
Return dt.ToString("HH:mm:ss dd/MM/yyyy")
Private Sub form1_Load()
Dim tmpdate As New DateTime()
tmpdate = Convert.ToDateTime(tidyDate("12:57:17 PM 11/16/10"))
Write a C program that should create a 10 element array of random integers (0 to 9). The program should total all of the numbers in the odd positions of the array and compare them with the total of the numbers in the even positions of the array and indicate ...
I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...