Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
date
- Page 1
Re: What should I look for in a reliable web design and development agency?
Digital Media
Digital Marketing
3 Days Ago
by sasha_Digitable
… for is: 1. Proven track record with a up to
date
portfolio 2. Expertise in the specific areas of web design…
Defending yourself from AI. IGNORE ALL PREVIOUS INSTRUCTIONS
Hardware and Software
Information Security
2 Months Ago
by rproffitt
… BOT is mention of the Tiananmen Square protest and the
date
it occurred. In the USA you can find yourself blocked…
Re: Json response in javascript
Programming
Web Development
2 Months Ago
by Mr.M
… // Now the calendar var
date
= new
Date
() var d =
date
.getDate(), m =
date
.getMonth(), y =
date
.getFullYear() $('#calendar').fullCalendar({ header…, droppable: true, drop: function (
date
, allDay){ var originalEventObject = $(this).
date
('eventObject') var copiedEventObject = $. extend({},…
Re: Editor crashes browser
Community Center
Meta DaniWeb
1 Month Ago
by Salem
Your chrome is 9+ months out of
date
. https://chromereleases.googleblog.com/2024/07/
Re: Defending yourself from AI. IGNORE ALL PREVIOUS INSTRUCTIONS
Hardware and Software
Information Security
2 Months Ago
by Dani
I have heard of the "Ignore all previous instructions" thing when ChatGPT first came out, but I don't know how effective that is anymore. I don't think very much so. I haven't heard of anything related to Tiananmen Square or Holocaust Remembrance Day or such, and I don't see how those would be effective at all.
Re: date stored in mysql as 0000-00-00
Programming
Web Development
14 Years Ago
by Ankit_Parmar
//$
date
=$_POST['Value1']; --- Don't comment this line.Because you want to store this value. $new_date =
date
("m/d/Y", strtotime($
date
)); In This line , What is the value of [B]$
date
[/B]. Becoz,You are commenting Previoue line. That'why , it is storing 01-01-1970(this is initial
date
value).
Re: Date of birth not showing in database
Programming
Web Development
10 Years Ago
by pritaeas
Date
format for databases is usually `yyyy-mm-dd`
Re: Date Validation again
Programming
Software Development
17 Years Ago
by jim mcnamara
… to be displayed - FYI. If you format
date
like this: today=$(
date
+%Y%m%d) you get a value like 20080111, this… compare integers: if [[ $today -ne $newdate ]] then echo "bad
date
" fi
Re: Date Expired? date expiration alert
Programming
Web Development
15 Years Ago
by Luckychap
Date
Comparison is really hard in javascript. So I wrote 2 … date2Month = date2.getMonth(); var date2Year = date2.getFullYear(); // Check for same
date
if(areSame(date1, date2)) return 0; if(date1Year == date2Year) { if…
Re: Date and Time
Hardware and Software
Microsoft Windows
17 Years Ago
by MidiMagic
Date
and time are in control panel.
Re: date n time TO BE DISPLAYED AT THE LEFT HAND CORNER .
Programming
Software Development
17 Years Ago
by Ezzaral
Date
is actually deprecated and should be replaced with Calendar[code] java.util.Calendar now = java.util.Calendar.getInstance(); String currentTime= java.text.SimpleDateFormat.getInstance().format(now.getTime());[/code]
Re: Date comparing in Unix shell script
Programming
Software Development
16 Years Ago
by Luckychap
>
date
%s is also not working in HP-UNIX. Any response is highly appriciated. Thanks.
Re: date time problem - please help
Programming
Web Development
14 Years Ago
by jugosoft
Date
that you want to insert in SQL Server database must be in format [b]MM/dd/yyyy[/b], and time must be in format [b]hh:mm:ss[/b]. Don't forget to set data type of collumn in database to [i]datetime[/i]. [code] string dateAndTime = DateTime.Now.ToString("MM/dd/yyyy hh:mm:ss"); ... command.ExecuteNonQuery(); [/code]
Re: Date () mysql storage
Programming
Web Development
13 Years Ago
by urtrivedi
date
or datetime
date
Programming
Software Development
17 Years Ago
by zandiago
… First- decode an expiration code and secondly encode a
date
. If the decode option is selected, your program will…1+1988; cout<<"Decode an expiration
date
"<<endl; cin>> cout<…;<"Encode a
date
"<<endl; cin>> cout<…
Re: Date
Programming
Software Development
13 Years Ago
by Schol-R-LEA
… is the intended solution when formatting the standard Java [icode]
Date
[/icode] object to a [icode]String[/icode]. Mind you …there are two very different
Date
classes in the standard Java library: [icode]java.util…given how the auto-import tool works), as the utility
Date
class does in fact have a usable (if not very…
Date
Programming
Software Development
15 Years Ago
by kjiu
Hj, Why does't appear at editor ? [CODE] public void
date
() { SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss"); java.util.
Date
date
= new java.util.
Date
(); String datetime = dateFormat.format(
date
); this.editor.insertPlainText(datetime); }[/CODE]
Date
Programming
Software Development
13 Years Ago
by newcoder310
…I'm trying out the
Date
function in servlets. Instead of printing todays
date
it is giving something like… "
Date
@fbb7cb" this . Could … snippet [code] PrintWriter pw = response.getWriter();
Date
today = new
Date
(); pw.println("<HTML>"+"…
Re: Date
Programming
Software Development
13 Years Ago
by Schol-R-LEA
… what I would expect from [icode]java.util.
Date
[/icode], NormR1. Good work testing that, however, …OP isn't using the standard
Date
class. I did some checking, and the …SQL
Date
class ought to print the
date
in YYYY-MM-DD format by… default. I'm wondering just what
Date
class the OP is using. Again, if …
Re: Date
Programming
Software Development
13 Years Ago
by anantha.sharma
…'m trying out the
Date
function in servlets. Instead of printing todays
date
it is giving something …like "
Date
@fbb7cb" this . Could …snippet [code] PrintWriter pw = response.getWriter();
Date
today = new
Date
(); pw.println("<HTML>"+"…
Date
Programming
Web Development
13 Years Ago
by davy_yg
…: product_edit.php [CODE] if (isset($_POST['save'])){ $tgl_masuk =
date
("y-m-j"); if (empty($_POST['id'])){ $result…lt;/td> <td><?php echo
date
('j-M-Y',$data['tgl_masuk'])."</br>&… why it's incorrect. The
date
stored correctly in the database as year-month-
date
(y-m-j) but an…
Re: date
Programming
Software Development
17 Years Ago
by zandiago
… yearZ=1+1988; cout<<"Decode an expiration
date
"<<endl; cin>> cout<<…;"Encode a
date
"<<endl; cin>> cout<<…
Re: Date Help
Programming
Software Development
17 Years Ago
by ashkash
I figured out how to parse the String into a
date
object with the formatting "MM/dd/yyyy". This …is what I have so far:
Date
dtest = new SimpleDateFormat("MM/dd/yyyy").parse(letterdate… format ("MM/dd/yyyy") and compare the two
date
objects to see which one is greater. How would I…
Re: Date Help
Programming
Software Development
17 Years Ago
by Ezzaral
….println("After = "+calNow.after(calThen));
Date
dateThen = new SimpleDateFormat("MM/dd/yyyy").parse…("12/15/2003");
Date
dateNow = new
Date
(); System.out.println("After = "+…the intended way these days, since
Date
is deprecated. But the whole
Date
/ Calendar API is still somewhat …
Re: Date
Programming
Software Development
13 Years Ago
by Schol-R-LEA
… you aren't getting a string value from your [icode]
Date
[/icode] object; as a result, it is printing the class… [icode]today.toString()[/icode], which would give the time and
date
in UTC format; better would be to use a [url….com/search?q=simpledateformat]SimpleDateFormat[/url] object to format the
date
in the manner you need it to appear in.
Re: Date
Programming
Software Development
13 Years Ago
by newcoder310
… i used the toString method below and i got "
Date
@162dbb6 " ...... does it have anything to do with browser… compatability ... some versiion problem? [CODE] PrintWriter pw = response.getWriter();
Date
today = new
Date
(); pw.println("<HTML>"+"<…
Re: Date
Programming
Software Development
13 Years Ago
by NormR1
Here's what I get with my compiler: [CODE] java.util.
Date
dt = new java.util.
Date
(); System.out.println("dt=" + dt); // dt=Mon Jun 20 09:24:37 CDT 2011 [/CODE]
Date
Programming
Software Development
17 Years Ago
by new_2_java
Hi all, I want to create a function that adds certain amount of days for a given
date
. e.g. Say today's
date
is 21/9/2007. and I would like to add 95 days to this
date
. How do I accomplish that. Any help will be real appreciate it. Regards.
Date Help
Programming
Software Development
17 Years Ago
by ashkash
I need to get the current
date
in the format MM/DD/YYYY and compare it to another string in the same format to see if the current
date
is greater than the string
date
. What is the best way of doing this? thanks.
Re: Date
Programming
Software Development
15 Years Ago
by javaAddict
What is the editor? The code that generates the
date
seems fine.
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC