0
votes
0answers
10 views

DateTimeFormat with Timezone and no colon

I am using Talend Open Studio to fetch info from a DB to an XML file and then using XSLT on that. There is a date field that comes into the XML as: 2013-02-13T16:49:51.733+0230, when I supply a Date ...
0
votes
1answer
46 views

Trying to display date and number value

Trying to display this below to print out [Date.UTC(09:54:36),15297] so I can use the data in highcharts. /* Retrieve and display the results of the query. */ $Hour = ''; $ActualLoadMW = ''; ...
-1
votes
2answers
17 views

Turn datepicker valuestring to ToLongDateString

Just want to start of that this whole question starts with this article: http://transoceanic.blogspot.se/2011/08/wp7-create-datepicker-control.html So i have done as in the article and now want to ...
1
vote
1answer
59 views

how to convert DateTime to a specified Format in windows phone 8

I have this date format MM/dd/yyyy. The problem is, when i convert it displays 05-12-2013.I want to display formate like 05/12/2013. How can i correctly format it to: 05/12/2013? My c# code is ...
3
votes
2answers
63 views

DateTime.Parse throws exception “not support in System.Globalization.GregorianCalendar”

string formatString = "MMddyyyyHHmmss"; string sample = "20100611221912"; DateTime dt = DateTime.ParseExact(sample, formatString, System.Globalization.CultureInfo.InvariantCulture); the specific ...
3
votes
3answers
105 views

Current date and time as string

I wrote a function to get a current date and time in format: DD-MM-YYYY HH:MM:SS. It works but let's say, its pretty ugly. How can I do exactly the same thing but simpler? string ...
0
votes
2answers
43 views

Convert string with format 12 hour(04/29/2013 10:00:00 AM) to datetime in C#

I'm retrieving a string like this (04/29/2013 10:00:00 AM) from my config.xml.I want to convert this to DateTime format.How to do this? I tried followings: DateTime dtNextrunTimeforExcel = ...
0
votes
1answer
50 views

php convert string to SQL type DateTime

I want to be able to compare an input of $date, which is a string, with a value from the database with the type of "datetime". Here's my code below. It outputs as a string type instead of the desired ...
1
vote
4answers
147 views

Get Date from String

Lets say I have one of following strings: "Hello, I'm a String... This is a Stackoverflowquestion!! Here is a Date: 16.03.2013, 02:35 and yeah, plain text blah blah..-." "This the other string! :) ...
2
votes
1answer
94 views

Parse String into a DateTime Object in C#

I am trying to Parse a String date and time into a single .NET DateTime object. I have the following code: string dtObjFormat = "dd MMM YYYY HH:mm"; string mydatetimemash = e.Date + " " + e.Time; // ...
0
votes
1answer
30 views

Parsing String into a C# DateTime Object

In an XML that I am parsing, I have the following: <event> <book>Felicity Fly</book> <author>Christina Gabbitas</author> ...
0
votes
3answers
122 views

Convert Date Format in JSON variable

I have a variable that contains JSON data with thousands of rows. Some of the variables are dates in the following format Fri Jun 27 2008 00:00:00 GMT-0700 (US Mountain Standard Time). I need to ...
2
votes
3answers
811 views

Converting dd/mm/yyyy formatted string to Datetime [duplicate]

I am new to DotNet and C#. I want to convert a string in mm/dd/yyyy format to DateTime object. I tried the parse function like below but it is throwing a runtime error. DateTime ...
0
votes
1answer
96 views

Convert time to string [closed]

Guys i am stuck I am trying to convert a String to date time using my own Format: <?php require('qs_connection.php'); require('qs_functions.php'); $sDay = $_POST['sDay']; $sMonth = ...
0
votes
3answers
178 views

convert string to date type python [duplicate]

How do I convert a string to a date object in python? The string would be: "30-01-12" (corresponding to the format: "%d-%m-%y") I don't want a datetime.datetime object, but rather a datetime.date

1 2 3 4 5 15
15 30 50 per page