DateTime objects in many programming languages describe an instant in time, expressed as a date and time of day.

learn more… | top users | synonyms (1)

4
votes
1answer
21 views

Parsing date and time with FParsec

Within a simple query language I'd like to recognize date and time literals, preferably without using delimiters. For example, CreationDate = 2013-05-13 5:30 PM I could use a combinator to detect ...
0
votes
3answers
34 views

Type error comparing two datetimes

My problem will look common to you, but I didn't find the answer on the website. I want to combine two dates in python, I use this : delta = 2012-04-07 18:54:40 - 2012-04-07 18:54:39 But I get an ...
1
vote
2answers
20 views

Firefox returning invalid for timezone offsets?

I've come across what appears to be an odd result from Firefox. Using the following format: 2013/01/01 00:00:00-0000 For my date, I run into an issue when the timezone goes "positive". For example. ...
4
votes
3answers
53 views

Issue with DateTime.ParseExact method: always throws exception even with correct format

I have searched the forum for solutions like this, however I did not find one that actually matches my particular issue. This might be in need of a more experienced eye in order to find the problem, ...
0
votes
4answers
42 views

get the last thursday todate in android

Hi everybody hope your all ok, Got a problem that I am total stuck on, if you've got any ideas that can help? In my app I can get current date and time as below. But what I need is the date of the ...
0
votes
2answers
28 views

Inserting two seperate fields into one record php mysql

I have created a planner using php and jquery on my application. I have a section, where the user inputs start date and start time, and another where they input the end date and end time. The fields ...
0
votes
1answer
17 views

Formatting with time.strptime() throws an error

I'm trying to convert the following date (which is a string) to a datetime object: Fri, 26 Apr 2013 12:00:00 +0000 So what I did is throw the +0000 value out and then convert it to a datetime ...
-1
votes
3answers
21 views

How to compare two DATETIMEs from MySQL

I want to limit my users to only (be able to) post something every 15 minutes. So in my SQL query I select NOW() to get the current date and time, and also the user's last post date date_added. I ...
0
votes
3answers
22 views

Store date and time from a Datepicker and time timepicker dialogs to MySQL

I am creating an application in which I want the client to choose date and time from DatePicker and store them to an SQL server in datetime format. Any ideas? Because I used SimpleDateFormat but it ...
0
votes
5answers
44 views

Converting this into a date time format C#

Okay, so i am trying to read the date/time of the Twitter feed XML, it is currently in this format: Fri May 03 15:22:09 +0000 2013 However my C# is not reading it as a Date/Time type. This is what i ...
2
votes
2answers
69 views

How to Parse Datetime time.ms

i have a string 1368352924.281610000 presenting the DateTime. How can i parse this? Is tried: string rststr = Convert.ToString(result); string[] rststrarr = ...
0
votes
4answers
25 views

Empty datetime in the report

I face the following problem : Sometimes the value of my trans_in(DateTime) in my database is :1900-01-01 00:00:00.000 and it appears in my telerik report like this 12:00 AM i want to show the ...
0
votes
1answer
85 views

PHP datetime always set last day of month [closed]

I want to add one month to given date. Input is string date, and output is DateTime object with added one month. But, if given date is 2013-05-31 and just add one month I got 2013-07-01 and I want to ...
0
votes
3answers
60 views

For valid DateTime(Error shows string was not recognized )

I am trying to convert my string formated value to date type with format dd/MM/yyyy. It runs fine but when I enter fromdate(dd/MM/yyyy) in textbox its fine and todate(dd/MM/yyyy) in textbox then it ...
2
votes
2answers
32 views

Compute the unix timestamp for the previous midnight

How can you, in Java, compute the unix timestamp truncated to midnight? PHP examples show making strings and then parsing them back. There has to be a cleaner way to do it in Java than that, surely? ...

1 2 3 4 5 825
15 30 50 per page