Question about Computers & Internet

1 Answer

Java Hi experts, I have a question. Is it possible to set (change/edit) the system time and date by coding in java? I think it's not possible (80%) but maybe experts might have an answer - I suppose

Posted by on

Ad

1 Answer

  • Level 2:

    An expert who has achieved level 2 by getting 100 points

    All-Star:

    An expert that got 10 achievements.

    MVP:

    An expert that got 5 achievements.

    Sergeant:

    An expert that has over 500 points.

  • Expert
  • 213 Answers

Look into using the Process class to execute a command you might use on the command line (DATE in your case). Small tutorial that you can use to get you started is at: http://java.sun.com/developer/JDCTec.../tt0304.html#1

You'll probably have to run this command with administrator privileges...not too familiar with Windows.

On a side note, if you use this approach, the example doesn't close any of the streams that were opened to read the output of the command issued. You should do this to avoid unwanted resource consumption.
golu_fixya
thanks

Posted on Oct 14, 2008

Ad

1 Suggested Answer

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi there,
Save hours of searching online or wasting money on unnecessary repairs by talking to a 6YA Expert who can help you resolve this issue over the phone in a minute or two.

Best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.

Here's a link to this great service

Good luck!

Posted on Jan 02, 2017

Ad

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

Geemarc ampli600 manual


hello Jennifer Huffman

If your phone is android support

1. Go to Settings
2. Select Date & Time
3. Select Set Date ( This is where you can set the date) and set
4. Select Set Time ( This is where you can set the time) and set

If your phone is Java support

1. Go to Settings
2. Phone Settings
3. Time and Date
4. Set Time and Date (Don't forget to save)

For more info about phone
visit my blog: chadcircle.blogspot.com

Mar 03, 2014 | Lands Phones

1 Answer

Set date format


Hi Erez,

This info is from http://sourceforge.net/projects/openproj/forums/forum/708856/topic/1830061

You can easily change the language and formats.

Windows: edit openproj.bat

add the following to the java command line

-Duser.language=en -Duser.region=GB

for UK format. Use any legal combination, e.g., fr and CA for French in Canada, or en and AU for Australian English. This will change both your language and locale formats (dates and times).

On Unixy systems, change openproj.sh in the same way.

Mac user instructions are provided at this site as well.

Good luck.

Jan 17, 2012 | Projity OpenProj

3 Answers

Java error in my samsung c3222 mobile phone


which java error long time size error if your mbile java platform is midp_1.8 or 1.9 then your mobile cannot play java 3d games or big size game for example angry birds and melon summrai i think it is helpful to you

Jun 28, 2011 | Cell Phones

2 Answers

What is the solution to error code 0x80072f8f which occured during window activation?


Try this one.

  1. Click the Start Collapse this image Expand this imagevistastartbutton.jpg, type timedate.cpl in the Start Search box, and then click Timedate.cpl on the programs list.
  2. On the Date and Time tab, make sure that the computer's date and time are correct. If the settings are incorrect, click Change date and time.

    Collapse this image Expand this imagesecurityshield.jpgIf you are prompted for an administrator password or confirmation, type the password, or provide confirmation.
  3. In the Date and Time dialog box, use the following procedures:
    • To change the date

      Under Date, click the left or right arrows to find the current month in the calendar, and then click the current date.
    • To change the time

      Under Time, double-click the hour, minutes, or seconds that you want to change, and then click the arrows to increase or decrease the value.
  4. When you finish changing the date and time settings, click OK.
  5. Try to install updates again.

May 20, 2011 | Microsoft Windows Vista Ultimate Edition

1 Answer

Have removed java updates and now operating slowly, when i have tried to download java again i am getting error codes 25099 and another error 2753.regutils.dll, think i have unintentionally removed...


Hi! the error it self highlighting "regular uitlity" concept in dll name. there is no problem with automatic java updates, but may be missed connection of updates path, so try think about it there would be no problem at all with java updates and operating system..

Dec 13, 2009 | GPS

3 Answers

Error 1335


Method 2: Change the memory settings for installation To change the memory settings for installation, follow these steps:
  1. Click Start, and then click Run.
  2. In the Open box, type msconfig, and then click OK.
  3. On the BOOT.INI tab, click Advanced Options.
  4. In the BOOT.INI Advanced Options dialog box, select the /MAXMEM= check box, and then change the setting to 256 (or lower if your computer has less RAM).
  5. Click OK to close the BOOT.INI Advanced Options dialog box.
  6. In the System Configuration Utility dialog box, click Apply.
  7. Click OK to close the System Configuration Utility dialog box.
  8. Click Restart to the following message: You must restart your computer for some of the changes made by System Configuration to take effect.
  9. After you restart your computer, install Office as a Complete Install.
  10. After you install Microsoft Office, follow steps 1 through 8 to clear the /MAXMEM= check box.
By xIN3N

May 21, 2009 | Sun Java Studio Standard 5 (SSJI9501TL9M)...

1 Answer

Disabling the adjustments of Date & time??


Hi there.
This is the best i can remember about Win98
In Win98, rename the timedate.cpl to _timedate.cpl from your system folder and open command.com in a hex editor and go to the location that is on or around 0x010b36. there you will see a table of DOS commands.
simply rename "time" (and/or "date") to something else (as long as it's exactly 4 characters long!). then bring up a new DOS window and you will see that it only accepts your new command for changing the time and date.
This method, in combination with (renaming timedate.cpl), and
making sure that your BIOS settings are password protected, should prevent virtually anyone who is a non-guru from changing the system time.

Good luck and thanks for using FixYa!!

Mar 04, 2009 | Microsoft Windows 98 Second Edition for PC

3 Answers

What is servlets?


Java Servlet technology provides Web developers with a simple, consistent mechanism for extending the functionality of a Web server and for accessing existing business systems. A servlet can almost be thought of as an applet that runs on the server side--without a face. Java servlets make many Web applications possible.  » Read More The reference implementation is included in the Java EE 5 SDK and also in the open-source Java Platform, Enterprise Edition (Java EE) application server, available through the GlassFish project, which you can download from java.net. The reference implementation source code is available from the servlet-sources project on java.net.

Dec 29, 2008 | Microsoft Windows Vista Ultimate Edition

4 Answers

Panasonic KXT7453


To set date and time on your phone system you must first enter user programming mode.
Using a display phone with the receiver hung up.
Press PROGRAM
Dial ** 1234 (SYS PROG NO)
Dial 000 (DATE AND TIME)
Press SP-PHONE key once (display shows current date)
Normally this is correct if not dial the changes in with your keypad. Use the FWD\DND key to
move forward on the display and the CONF key to move backwards.
Press AUTO DIAL STORE (Confirmation tone)
Press SP-PHONE key once (display shows current time flashing on hour)
Dial new hour (Two digits) Use the FWD\DND key to move forward on the display and the
CONF key to move backwards. Dial in any changes and when your done:
Press AUTO DIAL STORE (Confirmation tone)
Press HOLD (SYS PROG NO)
Press PROGRAM
Your phone should be back to normal.

Nov 03, 2008 | Panasonic KX-T7453 Corded Phone

Not finding what you are looking for?
Computers & Internet Logo

Related Topics:

93 people viewed this question

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Les Dickinson
Les Dickinson

Level 3 Expert

18424 Answers

Doctor PC
Doctor PC

Level 3 Expert

7733 Answers

David Payne
David Payne

Level 3 Expert

14162 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...