No announcements
Found 1852815 threads
-
0 Votes
error: String was not recognized as a valid DateTime.
And one more question - if workflowProperties.Item["Period_x0020_End"] is a date field, why do you want to convert its value to string and then save it?Answered | 4 Replies | 6887 Views | Created by Nachiket Kamat - Tuesday, August 16, 2011 7:10 AM | Last reply by Nachiket Kamat - Tuesday, August 16, 2011 9:13 AM -
0 Votes
String was not recognized as a valid DateTime.
at the other dates,Evan's suggestion could work, but you could write your own datetime conversion easyly too.Answered | 2 Replies | 3242 Views | Created by Dundigam Balaji - Thursday, July 14, 2011 8:00 AM | Last reply by Esref Durna - Thursday, July 14, 2011 9:07 AM -
1 Votes
Time Dimension Error-string not recognized as valid datetime
In this situation, you'll get similar errors when processing the dimension.Answered | 8 Replies | 6957 Views | Created by Rakesh Singh 5645 - Friday, May 1, 2009 6:11 PM | Last reply by Aleksei_BI - Wednesday, March 19, 2014 9:14 AM -
0 Votes
String was not recognized as a valid DateTime - VB.net
DateTime.TryParse Method (String, DateTime) method on the TextBox with dDate rather than providing dDate with TextBox text which is not a DateTime.Answered | 5 Replies | 4313 Views | Created by NurulShaf - Wednesday, October 5, 2016 4:37 AM | Last reply by Kareninstructor - Sunday, October 9, 2016 5:51 AM -
0 Votes
String was not recognizes as a valid datetime
I get this format into a string, but it seems that DateTime always be in this format: MM/dd/yyyy hh:mm:ss ?Answered | 8 Replies | 4207 Views | Created by SpaceLama - Monday, January 30, 2012 11:14 AM | Last reply by Hasibul Haque - Monday, January 30, 2012 5:42 PM -
0 Votes
String was not recognized as a valid DateTime.
string date1 = "3/26/2013 5:50:06 PM"; DateTime entrytime = DateTime.ParseExact(date1, "M/dd/yyyy h:mm:ss tt", ...Answered | 5 Replies | 1803 Views | Created by kida.altantis - Tuesday, March 26, 2013 12:49 PM | Last reply by Chris Dunaway - Tuesday, March 26, 2013 4:02 PM -
1 Votes
string was not recognized as valid datetime.
That's true if this is actual code, then the string conversion first is pointless.Answered | 8 Replies | 1880 Views | Created by aivarinns - Friday, February 8, 2013 11:54 AM | Last reply by Christopher84 - Saturday, February 9, 2013 10:02 AM -
1 Votes
c# .NET string not recognized as a valid datetime
You need to specify a fixed culture during saving and re-parsing of the datetime.Answered | 3 Replies | 44566 Views | Created by Our Man In Bananas - Wednesday, November 13, 2013 11:44 AM | Last reply by Christopher84 - Wednesday, November 13, 2013 3:47 PM -
0 Votes
(Date Comparision) string was not recognized as a valid datetime in c#
Use ParseExact if you know exactly what format your input string is.Answered | 3 Replies | 941 Views | Created by Gunapriyan - Wednesday, January 13, 2016 9:42 AM | Last reply by RJP1973 - Wednesday, January 13, 2016 10:12 AM -
0 Votes
String was not recognized as a valid DateTime.
are datetime values.Answered | 9 Replies | 7537 Views | Created by rept - Monday, May 3, 2010 2:40 PM | Last reply by Bikerbabe1111 - Wednesday, April 25, 2012 12:14 PM -
3 Votes
Document Set dd.mm.yyyy Date Time problem "String was not recognized as a valid DateTime."
Entering a value within a date time field of a document set, resulted in an error "String was not recognized as a ...Answered | 7 Replies | 7959 Views | Created by JyrKet - Friday, January 25, 2013 10:56 AM | Last reply by JyrKet - Friday, April 19, 2013 9:14 AM -
1 Votes
Datetime format Issue String was not recognized as a valid DateTime
Hi, if you want to convert the string to DateTime simply use it like this...Answered | 4 Replies | 4098 Views | Created by ajibolao - Tuesday, May 27, 2014 12:36 PM | Last reply by Muthukrishnan Ramasamy - Wednesday, May 28, 2014 10:38 AM -
1 Votes
The string '201304032122' is not a valid DateTime value
") formatting string as needed.Answered | 9 Replies | 5065 Views | Created by ArchanaVenkatasamy - Monday, June 10, 2013 11:22 AM | Last reply by ArchanaVenkatasamy - Tuesday, June 11, 2013 7:18 AM -
1 Votes
string to datetime
Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("en-us"); string strDateTime = ...Answered | 3 Replies | 342 Views | Created by arkiboys - Friday, January 19, 2018 12:53 AM | Last reply by arkiboys - Friday, January 19, 2018 8:53 AM -
1 Votes
Exception Details: System.FormatException: String was not recognized as a valid DateTime.
Use DateTime.TryParse to convert from a string to a DateTime (or any primitive) when you are not sure if the conversion is allowed.Answered | 2 Replies | 4846 Views | Created by madhusha_s - Wednesday, September 11, 2013 10:55 AM | Last reply by CoolDadTx - Wednesday, September 11, 2013 2:21 PM -
1 Votes
Convert Datetime to String in C#
Just format the DateTime you start with.Answered | 1 Replies | 75122 Views | Created by Dkrishna - Friday, May 25, 2018 3:35 AM | Last reply by Ante Meridian - Friday, May 25, 2018 3:54 AM -
0 Votes
"100-2" is recognized as a valid DateTime
Both Convert.ToDateTime() and DateTime.TryParse() considers "100-2" as a valid Date.Answered | 1 Replies | 448 Views | Created by NishadiMan - Thursday, July 28, 2016 9:11 AM | Last reply by RJP1973 - Thursday, July 28, 2016 12:40 PM -
2 Votes
String to DateTime Conversion
and it never gives error what ever the regional setting may be.Answered | 4 Replies | 4487 Views | Created by Gyana - Tuesday, July 27, 2010 6:49 AM | Last reply by Gyana - Monday, August 9, 2010 11:11 AM -
1 Votes
String to datetime
Hello, I'm wondering why You do not use the DateTime.Answered | 6 Replies | 3417 Views | Created by lagartija75 - Monday, November 15, 2010 9:01 PM | Last reply by Ellen Ramcke - Tuesday, November 16, 2010 8:40 PM -
1 Votes
convert string to datetime?
myDate = null; //OK DateTime myDate = null; //FAILS Maybe the problem lays somewhere else, maybe the string cannot ...Answered | 6 Replies | 3665 Views | Created by peter 9 - Tuesday, July 10, 2012 4:17 AM | Last reply by Mitja Bonca - Tuesday, July 10, 2012 2:28 PM - Items 1 to 20 of 1852815 Next ›
No announcements