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

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

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,
a 6ya expert can help you resolve that 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.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
goodluck!

Posted on Jan 02, 2017

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

How do you change the time on a dymo datemark


Hi there!
Here's what you can do"
1. To set the current date and time, press and hold down the SET/EDIT button for a few seconds. Release the SET/EDIT button when the Month (M) and Day (D) indicators start flashing.
Note: The unit will revert back to normal display if no other key is pressed for 10 seconds
2. While the Month (M) and Day (D) indicators are flashing press the LOCK button to cycle through the 3 available date formats.
3. Once you have chosen an appropriate date format press the SHIFT button to switch between each of the different DATE, MONTH, YEAR, HOUR, and MINUTE fields. The field that is currently active will start flashing. To change the field's value press the LOCK button. Each stroke of the LOCK button moves one value up.
Note: If you go past the current year, you will need to press the LOCK button to cycle through the year 2189 and back up to the current year.
4. Once you are finished setting the Date and Time press the Set/Edit button to return to the normal display. The Date/Time Stamper is now ready to print..
Hope this helps!
Vikroks

Mar 29, 2011 | Dymo DateMark Date/Time Stamper

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

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:

91 people viewed this question

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Brian Sullivan
Brian Sullivan

Level 3 Expert

27725 Answers

kakima

Level 3 Expert

102366 Answers

David Payne
David Payne

Level 3 Expert

14161 Answers

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

Answer questions

Manuals & User Guides

Loading...