64 Discussion / Question Topics

Remove Filter
Member Avatar for
Member Avatar for jaimin4829

we r trying to insert date from datetime picker into mssqlserver 2005 but it also enter defult time(00:00) with it in database. using we want only date... [CODE]& xyzdtp.value.date &[/CODE]

Member Avatar for uzma_2
0
26K
Member Avatar for ddanbe

Windows 10 has a nice date and time display in his taskbar, it is becoming more difficult for me to see , unless I open it. Becoming older and older my eyes are not that ‘fresh’ as they used to be, so I decided to make a bigger time display …

Member Avatar for ddanbe
2
477
Member Avatar for davy_yg

How to change the format of: --> var enterDate = '2016-01-15'; // to 2016-01-15T00:00:00.0000000+08:00 with JS syntax? // I try these and none of these works out: 1) enterDate.format("yyyy-mm-ddT00:00:00.0000000+08:00"); console.log(enterDate); 2) enterDate.toLocaleFormat("%B %e, %Y %M:%S"); Thanks in advance.

Member Avatar for diafol
0
372
Member Avatar for jean_5

This code gets the data from the table to show in a table for the user using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Collections; using System.Collections.Generic; using System.Text; namespace Form { public class RelUse { public DateTime Date { get; set; } } public RelUse() { …

Member Avatar for djjeavons
0
1K
Member Avatar for davy_yg

Hello, I am trying to record a birthdate. I am looking for the right variable to do that. The only option in mysql database xampp is datetime: yyyy-mm-dd hh:mm:ss While I would like it to be: dd-mm-yyyy ? How? If I input the data dd-mm-yyyy will my database adapt to …

Member Avatar for diafol
0
231
Member Avatar for dumicom

Hi Guys, I'm using Python 2.7.3, How can I ask the user to enter "from datetime" & "to datetime" then plot the graph For eg. when user from datetime: 21/7/2014 0:00 to datetime: 22/7/2014 23:57 from datetime import datetime import matplotlib.pyplot as plt import matplotlib.dates as mdates x = [] …

Member Avatar for Gribouillis
0
1K
Member Avatar for thirteen_xx

Hi, I'm new to vb and I need to record the time the user used a certain privilege and the time s/he finished using it. i used date/time picker but whenever i run the program, i can't edit the time. only the date. help please?

Member Avatar for thirteen_xx
0
800
Member Avatar for jj.dcruz

I have coded this today and wanted to find all the data inside my database which is start_time and end_time also date which is very easy for me to validate but when it comes to time... its really hard this is what I want to do. 1. check all the …

Member Avatar for jj.dcruz
0
189
Member Avatar for castajiz_2

if (ts1.CompareTo(DateTime.Now) == -1 && ts2.CompareTo(DateTime.Now) == -1) { MessageBox.Show("...."); } the function asks for a object, i gave an object...

Member Avatar for ddanbe
0
172
Member Avatar for angelina_1

hello, i just want to find difference between two dates interms of days by getting dates as a user input. i tried getting user input using raw_input but it shows some erroe message. can anyone tell me the right coding for this one.urgent please...

Member Avatar for Gribouillis
0
380
Member Avatar for Judson

Hello I am working on this code for a hotel reservation. so far I am stuck on the part which requests that fridays and saturdays be charged 150 instead of the 120 usual cost per night. I have dateTime variables for the arrival date and departure date and a timeSpan …

Member Avatar for Judson
0
1K
Member Avatar for edogg23

Hello. I'm trying to use SqlDataReader to return information from my database. It works fine until it comes to a datetime field. I'm getting an error saying: " Input string was not in a correct format." on the line where I'm declaring a variable to hold my field. Here is …

Member Avatar for edogg23
0
4K
Member Avatar for a.dhamumca

hi, i want to store date time whan i click radio button(name login time)in mysql. if i click logout radio button it should store logout time. ples help me... php and mysql code ...

Member Avatar for pritaeas
0
248
Member Avatar for snehal89

Hey Everyone, I have table called vdet_sa_archive and in that table there are so many fields and i want to access the data on datetime range. sample data in table starttime endtime 1 14-02-13 01:30:15.000000000 AM 14-02-13 02:01:57.000000000 AM 2 14-02-13 4:30:01.000000000 AM 14-02-13 5:30:01.000000000 AM 3 14-02-13 01:30:01.000000000 PM …

Member Avatar for ghulamyassen
0
260
Member Avatar for lakhe

hi i am writing a report, it must have parameters ToDate and FromDate,now the thing is i did all that but it stllrespond with just headring no data. Please help what am i doing wrong

Member Avatar for lakhe
0
263
Member Avatar for ckjaseem

Hi , Can anyone tell how I will send the local time zone to the server and so that I can convert the unix time(coming from the database) to the local time and display it on the clients side using php (In short I dont want to use javascript when …

Member Avatar for LastMitch
0
383
Member Avatar for sukriti1116

hiii, i am executing the following stored procedure but having errors... create procedure check_returns @salesman varchar(10),@RCV10 int,@RCV09 int,@RCV15 int,@GPRS15 int,@RCV20 int,@RCV25FTT int,@RCV25 int,@RCV31 int,@RCV30 int,@RCV35 int,@RCV50 int,@RCV55 int,@SIM int,@VTOPSIM int,@VTOPBAL int,@THREEGSIM int, @ENTRYDATE datetime AS BEGIN if exists(select * from CardsIssued where salesman=@salesman and RCV10>@RCV10 AND RCV09>@RCV09 AND RCV15>@RCV15 AND …

Member Avatar for sukriti1116
0
182
Member Avatar for diafol

Hi, I've been playing about with native classes and looking to extend them - well just the DateTime class actually. I was hpong that there would be a way to avoid using a constructor, but I can't seem to figure out how to store a 'startup' timestamp, `u` without it. …

Member Avatar for diafol
1
1K
Member Avatar for sanjeewa.abeywardana

I have downloaded code library from http://jqueryui.com/download related to datetimepicker control to add to a text box in asp .NET web page (Without master page) , and it is working fine (ie. themes are also displayed fine ,as EXPECTED colors) But need to know the **correct sequence of calling the …

Member Avatar for JorgeM
0
406
Member Avatar for praveen_dusari

Hi all, I have a problem with the date in javascript.I have a date which is in string format Like this: 10/5/2012 6:00 PM and what i need to do is at 5:00 PM on date 10/5/2012, i need to add a class to the td. <table width="100%" border="0" id="datetime"> …

Member Avatar for Taywin
0
193
Member Avatar for lulu79

Hi, How can i convert my column with timespan dataType (Eg: 04:04:45 ) to DateTime in HH:mm:ss format (Eg: 04:04:45)? Currently I can convert the column to datetime (Eg: 10/2/2012 4:04:45 AM) but I only want the time (Eg: 04:04:45 ). Can someone help me please...

Member Avatar for brylle
0
9K
Member Avatar for mmcdonald

Sorry people but I'm really struggling with this and I don't know why... but still. I have a stored unix timestamp. [a] I have the current timestamp not in unix format (YYYY-MM-DD HH:MM:SS) [b] I need to: 1) convert the current timestamp [b] into a unix timestamp 2) I need …

Member Avatar for leviathan185
0
270
Member Avatar for pmondal47

hi, i want to retrieve only the second field from system datetime..how can i do that??can anyone plz help me..thanks in advance

Member Avatar for pmondal47
0
203
Member Avatar for skran

I try to filter my datagridview with a datetimepicker. When the datetime value is just date (eg.15/5/2010) everything work fine. But when there is also date and time value occurs conversion problem "conversion failed when converting date and/or time from character string". Iused also combobox populated with the dattime values …

Member Avatar for G_Waddell
0
551
Member Avatar for auwi987

hello guys as you can see i have a method isdate with return type datetime and parameter string, what i wanted to do is to do is to check if inputdate is valid or not. may dateformat is these "MM/dd/yyyy" ex. if user1 input = "2/29/19" in method isdate the …

Member Avatar for Momerath
0
231
Member Avatar for devilhacker

Hi, I have a table with a timedate collumn. I want to get the text of the article and its creation date, than to output them on my page. How can I just get only the date value from a query or php script manupulation?

Member Avatar for pritaeas
0
255
Member Avatar for Aparna9019

I need to add dynamic timestamp with the attachment file test.dat as (test_currentDateTime.dat) sample code which I need to modify: <node name="testEmail" type="emailoutput" subject="this is a test mail with an attachment" xsl="&XSLPATH;test.xsl" outputType="text/plain" > <attachment type="text/plain" name="test.dat"/> </node> How can this be done in the attachment tag that is inside …

Member Avatar for Mike Askew
0
1K
Member Avatar for Baduizm

I need a simple script to echo current date 600 times once every second redirect it to a text file and follow the file as it grows using a tail command.

Member Avatar for JeoSaurus
0
170
Member Avatar for Skeldave

Hi, I am getting the following error and I cannot understand why. SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM. Before i try and insert the data into the database I print it out and this is what i get: **09/04/2012 00:00:00** The code below is …

0
92
Member Avatar for Gobble45

Hello all, Ive done some googling around, and cant find anything that explains why my date isnt being formatted to what i tell it. my code: dim date_now as date date_now = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") So for example if the date/time is February 11 2015, 4:44:23pm it would be formatted as: …

Member Avatar for Gobble45
0
210

The End.