I have got problem with "Date & Time"

I have bought a new Macbook Air 13"
I have chosen "set date & time auto..."
However, it shows in up right corner wrong date. Also all mail, reminders and etc work with wrong date.
Please, tell me what to do with this problem.
Sincerelly,
Mark

Incorrect date or time displayed in various applications

Similar Messages

  • Hi. I have got problem with my ITunes. Every time I´m opening the program I´ve got the message: One unkwown problem is appering (-42032) Can anybode please tell me what to do wit this error? Thanks

    Hi. I have got problem with my ITunes. Every time I´m opening the program I´ve got the message: One unkwown problem is appering (-42032) Can anybode please tell me what to do wit this error? Thanks

    Gary,
    discussions may sometimes be slow for an hour or so (at which point the opening page of discussions will eventually apologize for the inconvenience, back on line soon...) but your description looks like a cache problem.
    Try OnyX freeware to do some cleanup and see if that helps.
    http://www.titanium.free.fr/index.html

  • I have one problem with Data Guard. My archive log files are not applied.

    I have one problem with Data Guard. My archive log files are not applied. However I have received all archive log files to my physical Standby db
    I have created a Physical Standby database on Oracle 10gR2 (Windows XP professional). Primary database is on another computer.
    In Enterprise Manager on Primary database it looks ok. I get the following message “Data Guard status Normal”
    But as I wrote above ”the archive log files are not applied”
    After I created the Physical Standby database, I have also done:
    1. I connected to the Physical Standby database instance.
    CONNECT SYS/SYS@luda AS SYSDBA
    2. I started the Oracle instance at the Physical Standby database without mounting the database.
    STARTUP NOMOUNT PFILE=C:\oracle\product\10.2.0\db_1\database\initluda.ora
    3. I mounted the Physical Standby database:
    ALTER DATABASE MOUNT STANDBY DATABASE
    4. I started redo apply on Physical Standby database
    alter database recover managed standby database disconnect from session
    5. I switched the log files on Physical Standby database
    alter system switch logfile
    6. I verified the redo data was received and archived on Physical Standby database
    select sequence#, first_time, next_time from v$archived_log order by sequence#
    SEQUENCE# FIRST_TIME NEXT_TIME
    3 2006-06-27 2006-06-27
    4 2006-06-27 2006-06-27
    5 2006-06-27 2006-06-27
    6 2006-06-27 2006-06-27
    7 2006-06-27 2006-06-27
    8 2006-06-27 2006-06-27
    7. I verified the archived redo log files were applied on Physical Standby database
    select sequence#,applied from v$archived_log;
    SEQUENCE# APP
    4 NO
    3 NO
    5 NO
    6 NO
    7 NO
    8 NO
    8. on Physical Standby database
    select * from v$archive_gap;
    No rows
    9. on Physical Standby database
    SELECT MESSAGE FROM V$DATAGUARD_STATUS;
    MESSAGE
    ARC0: Archival started
    ARC1: Archival started
    ARC2: Archival started
    ARC3: Archival started
    ARC4: Archival started
    ARC5: Archival started
    ARC6: Archival started
    ARC7: Archival started
    ARC8: Archival started
    ARC9: Archival started
    ARCa: Archival started
    ARCb: Archival started
    ARCc: Archival started
    ARCd: Archival started
    ARCe: Archival started
    ARCf: Archival started
    ARCg: Archival started
    ARCh: Archival started
    ARCi: Archival started
    ARCj: Archival started
    ARCk: Archival started
    ARCl: Archival started
    ARCm: Archival started
    ARCn: Archival started
    ARCo: Archival started
    ARCp: Archival started
    ARCq: Archival started
    ARCr: Archival started
    ARCs: Archival started
    ARCt: Archival started
    ARC0: Becoming the 'no FAL' ARCH
    ARC0: Becoming the 'no SRL' ARCH
    ARC1: Becoming the heartbeat ARCH
    Attempt to start background Managed Standby Recovery process
    MRP0: Background Managed Standby Recovery process started
    Managed Standby Recovery not using Real Time Apply
    MRP0: Background Media Recovery terminated with error 1110
    MRP0: Background Media Recovery process shutdown
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    RFS[1]: Assigned to RFS process 2148
    RFS[1]: Identified database type as 'physical standby'
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    RFS[2]: Assigned to RFS process 2384
    RFS[2]: Identified database type as 'physical standby'
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    RFS[3]: Assigned to RFS process 3188
    RFS[3]: Identified database type as 'physical standby'
    Primary database is in MAXIMUM PERFORMANCE mode
    Primary database is in MAXIMUM PERFORMANCE mode
    RFS[3]: No standby redo logfiles created
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    RFS[4]: Assigned to RFS process 3168
    RFS[4]: Identified database type as 'physical standby'
    RFS[4]: No standby redo logfiles created
    Primary database is in MAXIMUM PERFORMANCE mode
    RFS[3]: No standby redo logfiles created
    10. on Physical Standby database
    SELECT PROCESS, STATUS, THREAD#, SEQUENCE#, BLOCK#, BLOCKS FROM V$MANAGED_STANDBY;
    PROCESS STATUS THREAD# SEQUENCE# BLOCK# BLOCKS
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    RFS IDLE 0 0 0 0
    RFS IDLE 0 0 0 0
    RFS IDLE 1 9 13664 2
    RFS IDLE 0 0 0 0
    10) on Primary database:
    select message from v$dataguard_status;
    MESSAGE
    ARC0: Archival started
    ARC1: Archival started
    ARC2: Archival started
    ARC3: Archival started
    ARC4: Archival started
    ARC5: Archival started
    ARC6: Archival started
    ARC7: Archival started
    ARC8: Archival started
    ARC9: Archival started
    ARCa: Archival started
    ARCb: Archival started
    ARCc: Archival started
    ARCd: Archival started
    ARCe: Archival started
    ARCf: Archival started
    ARCg: Archival started
    ARCh: Archival started
    ARCi: Archival started
    ARCj: Archival started
    ARCk: Archival started
    ARCl: Archival started
    ARCm: Archival started
    ARCn: Archival started
    ARCo: Archival started
    ARCp: Archival started
    ARCq: Archival started
    ARCr: Archival started
    ARCs: Archival started
    ARCt: Archival started
    ARCm: Becoming the 'no FAL' ARCH
    ARCm: Becoming the 'no SRL' ARCH
    ARCd: Becoming the heartbeat ARCH
    Error 1034 received logging on to the standby
    Error 1034 received logging on to the standby
    LGWR: Error 1034 creating archivelog file 'luda'
    LNS: Failed to archive log 3 thread 1 sequence 7 (1034)
    FAL[server, ARCh]: Error 1034 creating remote archivelog file 'luda'
    11)on primary db
    select name,sequence#,applied from v$archived_log;
    NAME SEQUENCE# APP
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\IRINA\ARC00003_0594204176.001 3 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\IRINA\ARC00004_0594204176.001 4 NO
    Luda 4 NO
    Luda 3 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\IRINA\ARC00005_0594204176.001 5 NO
    Luda 5 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\IRINA\ARC00006_0594204176.001 6 NO
    Luda 6 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\IRINA\ARC00007_0594204176.001 7 NO
    Luda 7 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\IRINA\ARC00008_0594204176.001 8 NO
    Luda 8 NO
    12) on standby db
    select name,sequence#,applied from v$archived_log;
    NAME SEQUENCE# APP
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\LUDA\ARC00004_0594204176.001 4 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\LUDA\ARC00003_0594204176.001 3 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\LUDA\ARC00005_0594204176.001 5 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\LUDA\ARC00006_0594204176.001 6 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\LUDA\ARC00007_0594204176.001 7 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\LUDA\ARC00008_0594204176.001 8 NO
    13) my init.ora files
    On standby db
    irina.__db_cache_size=79691776
    irina.__java_pool_size=4194304
    irina.__large_pool_size=4194304
    irina.__shared_pool_size=75497472
    irina.__streams_pool_size=0
    *.audit_file_dest='C:\oracle\product\10.2.0\admin\luda\adump'
    *.background_dump_dest='C:\oracle\product\10.2.0\admin\luda\bdump'
    *.compatible='10.2.0.1.0'
    *.control_files='C:\oracle\product\10.2.0\oradata\luda\luda.ctl'
    *.core_dump_dest='C:\oracle\product\10.2.0\admin\luda\cdump'
    *.db_block_size=8192
    *.db_domain=''
    *.db_file_multiblock_read_count=16
    *.db_file_name_convert='luda','irina'
    *.db_name='irina'
    *.db_unique_name='luda'
    *.db_recovery_file_dest='C:\oracle\product\10.2.0\flash_recovery_area'
    *.db_recovery_file_dest_size=2147483648
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=irinaXDB)'
    *.fal_client='luda'
    *.fal_server='irina'
    *.job_queue_processes=10
    *.log_archive_config='DG_CONFIG=(irina,luda)'
    *.log_archive_dest_1='LOCATION=C:/oracle/product/10.2.0/oradata/luda/ VALID_FOR=(ALL_LOGFILES, ALL_ROLES) DB_UNIQUE_NAME=luda'
    *.log_archive_dest_2='SERVICE=irina LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES, PRIMARY_ROLE) DB_UNIQUE_NAME=irina'
    *.log_archive_dest_state_1='ENABLE'
    *.log_archive_dest_state_2='ENABLE'
    *.log_archive_max_processes=30
    *.log_file_name_convert='C:/oracle/product/10.2.0/oradata/irina/','C:/oracle/product/10.2.0/oradata/luda/'
    *.open_cursors=300
    *.pga_aggregate_target=16777216
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sga_target=167772160
    *.standby_file_management='AUTO'
    *.undo_management='AUTO'
    *.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='C:\oracle\product\10.2.0\admin\luda\udump'
    On primary db
    irina.__db_cache_size=79691776
    irina.__java_pool_size=4194304
    irina.__large_pool_size=4194304
    irina.__shared_pool_size=75497472
    irina.__streams_pool_size=0
    *.audit_file_dest='C:\oracle\product\10.2.0/admin/irina/adump'
    *.background_dump_dest='C:\oracle\product\10.2.0/admin/irina/bdump'
    *.compatible='10.2.0.1.0'
    *.control_files='C:\oracle\product\10.2.0\oradata\irina\control01.ctl','C:\oracle\product\10.2.0\oradata\irina\control02.ctl','C:\oracle\product\10.2.0\oradata\irina\control03.ctl'
    *.core_dump_dest='C:\oracle\product\10.2.0/admin/irina/cdump'
    *.db_block_size=8192
    *.db_domain=''
    *.db_file_multiblock_read_count=16
    *.db_file_name_convert='luda','irina'
    *.db_name='irina'
    *.db_recovery_file_dest='C:\oracle\product\10.2.0/flash_recovery_area'
    *.db_recovery_file_dest_size=2147483648
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=irinaXDB)'
    *.fal_client='irina'
    *.fal_server='luda'
    *.job_queue_processes=10
    *.log_archive_config='DG_CONFIG=(irina,luda)'
    *.log_archive_dest_1='LOCATION=C:/oracle/product/10.2.0/oradata/irina/ VALID_FOR=(ALL_LOGFILES, ALL_ROLES) DB_UNIQUE_NAME=irina'
    *.log_archive_dest_2='SERVICE=luda LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES, PRIMARY_ROLE) DB_UNIQUE_NAME=luda'
    *.log_archive_dest_state_1='ENABLE'
    *.log_archive_dest_state_2='ENABLE'
    *.log_archive_max_processes=30
    *.log_file_name_convert='C:/oracle/product/10.2.0/oradata/luda/','C:/oracle/product/10.2.0/oradata/irina/'
    *.open_cursors=300
    *.pga_aggregate_target=16777216
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sga_target=167772160
    *.standby_file_management='AUTO'
    *.undo_management='AUTO'
    *.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='C:\oracle\product\10.2.0/admin/irina/udump'
    Please help me!!!!

    Hi,
    After several tries my redo logs are applied now. I think in my case it had to do with the tnsnames.ora. At this moment I have both database in both tnsnames.ora files using the SID and not the SERVICE_NAME.
    Now I want to use DGMGRL. Adding a configuration and a stand-by database is working fine, but when I try to enable the configuration DGMGRL gives no feedback and it looks like it is hanging. The log, although says that it succeeded.
    In another session 'show configuration' results in the following, confirming that the enable succeeded.
    DGMGRL> show configuration
    Configuration
    Name: avhtest
    Enabled: YES
    Protection Mode: MaxPerformance
    Fast-Start Failover: DISABLED
    Databases:
    avhtest - Primary database
    avhtestls53 - Physical standby database
    Current status for "avhtest":
    Warning: ORA-16610: command 'ENABLE CONFIGURATION' in progress
    It there anybody that experienced the same problem and/or knows the solution to this?
    With kind regards,
    Martin Schaap

  • I have got problem with my pc-cam 950 slim

    I have got problem with my pc-cam 950 slim. When I press the power button, the busy light goes on for seconds then it is shut down again so the camera doesn't work. Please help me with this problem. I tried to connect it to my PC put it didn't work either.
    Thank you for taking the time to help me.

    Originally Posted by Colin-CL
    Hi,
    Have you checked that you have put in brand new 2 x AAA batteries?
    Connecting it to your PC will allow you to use it as a mass storage device after installing the relevant operating system (Microsoft
    hi,
    Yes, I put two new batteries
    When connected to the computer nothing happens
    What can be done to reset it?
    By replaced capacitor problem can be solved?

  • I have a problem with face time

    I have a problem with face time as the mobile is sending messages to a no in UK which is 00447786205094 and this charges me a lot and I notice that it is sending this message to activate face time

    That's what happens when you buy an iPhone intended for a different market. If you want to avoid this, sell it and buy a phone intended for your market.

  • Problem with Date & Time Auto Update

    Hi everyone,
    I have been experiencing a date & time issue with my MacBook Air. (I am running 10.5.5 with all the latest software updates except for iTunes 8). Here's what's going on:
    Under the Date & Time preferences, whenever I try to check the box for "Set date & time automatically", the date and time do not update. I thought Norton might be the culprit in this case, but I have thoroughly uninstalled it, and this problem still persists. (I am actually borrowing this laptop for work, so I don't know if someone else possibly did something weird to it before I started using it. As far as I can remember, I've always had this problem -- the automatic setting has never worked.)
    I am connected to the internet when I do this, and I already have my time zone selected. Am I missing something obvious here?
    I apologize if this issue has been brought up before, but I did a lot of searching and couldn't find anything. Any suggestions would be greatly appreciated!!
    Thank you.

    whenever I try to check the box for "Set date & time automatically"
    You check it and the time does not update, or you try to check it and it doesn't show a little tick mark?
    Try it with Console.app open and see does it report any errors. Try changing the time server.
    AK

  • Problem with Date / Time Title - Showing Inacurate Information

    I use iMovie to make videos for my job. The videos need to have an accurate running time and date displayed on them. I use the "Date/Time" Title option and the running time and date appear on the video. BUT- there is a problem. The time is wrong.
    When I import a video clip (from my Panasonic HDC-TM80) into iMovie, I can see the "time and date created" as well as the "length" of the video clip. The time and date created shows the time and date of when the clip ENDS. When I overlay the "Date/Time" Title, it starts the time (at the beginning of the clip) from the created time (which is actually the end).
    Example:
    Clip Created (end of clip): 3/23/11 10:30:00am
    Length of clip: 12 min. 35 sec.
    The actual Date/Time Title should show 10:17:25am at the beginning and runs through 10:30:00am (the end).
    But instead it shows 10:30:00am at the beginning and runs through 10:42:35am. This obviously results in a 12 min. 35 sec. inaccuracy.
    Is this a problem with the software? Is there a way to contact someone to alert them of this problem? Or am I missing something simple?
    Thanks in advance for anyone's help.
    -as a quick fix, I adjusted the time and date on the video clips so that it would show the correct info, but I'm usually working with several clips at a time and it is laborious to change each one.

    I don't have an answer but was wondering how you like the TM80? Except for the date/time issue, is it compatible with iMovie'11?
    Thanks!

  • I have got problem with flash in my New Iphone5..

    I have got flash problem in my new iphone5...any solution plz let me know..

    It is because you are taking pictures in the dark.
    Stop doing that.
    The flash will help some with shadows on a close up pic.
    It is not intended for taking pics in the dark.

  • Problem with Date/Time field in Adobe LiveCycle

    I am trying to create a form that has a check-in and check-out dates. I want the user to enter those dates and then have the form automatically compute how many nights the user intends on staying.
    I have two fields, CHECKIN and CHECKOUT, set up as text fields. My third field, NIGHTS, has the following script to do the calculation:
    var strStart = CHECKIN.rawValue
    var strEnd = CHECKOUT.rawValue
    if(strStart.length && strEnd.length)
    var dateStart = util.scand("mmm d, yyyy",strStart);
    var dateEnd = util.scand("mmm d, yyyy",strEnd);
    var diff = dateEnd.getTime() - dateStart.getTime();
    var oneDay = 24 * 60 * 60 * 1000;
    var days = Math.floor(diff/oneDay);
    this.rawValue = days;
    else
    this.rawValue = 0;
    NOW...this is fine if the user inputs a four-digit year. If not, it's trouble. SO, what I want to do is change the CHECKIN and CHECKOUT fields to the date/time field so they select the date off the pop-up calendar.
    When I make the changes, I can't get the script to work for the NIGHTS field.
    CAN ANYONE HELP THIS NEWBIE?

    Make sure the format of the date strings provided by the calendar is what you are expecting. Or use the "formattedValue" for the input strings.

  • Help please, i have a problem with DATA MERGE !

    why my coloumns are in one line ? after clicking "select data source" i have this problem, in csv file is everything allright !

    hmm, i noticed one thing, when i save file in .CSV, and after i save the same file in .XLSX, in ID it opens .CSV like this
    but when i save file in excel as CSV again, and re-open it in ID then it shows me that error

  • I have got problem with my 90 day trial

    Hi i just bought Brand New 6220 Classic from ebay.co.uk uk seller, but i think he just bring the phone from Hong Kong, i have got the 90 days free trial of the Hong Kong & Macau maps, is it possible to get the United Kingdoms free trial??

    Unfortunately not, each phone's IMEI is pre-recorded on the Nokia Maps server for the region where it intended for sale.
    It is always important buying any navigation product from places like eBay to check the origin of the phone before bidding. I'm sorry that this advice is to late for you.
    You should also be aware that as your phone was not sourced from Europe, you have no warranty here. In you place, I would be demanding a refund from the seller and returning the phone.

  • Problem with date + time

    Hi,
    I have a long time problem.
    I want to insert to my table the result of JXDatepicker + JSpinner (time HH:ss).
    It is work until I am calulate todays link in millisecound.
    please run my exampele to see my problem and I'll be happy if u can help me (cell 0,0).
    if you click in every date exept todays link, u get good result format (yyyy-MM-dd HH:ss:00)
    import java.awt.BorderLayout;import java.awt.event.ActionEvent;import java.awt.event.ActionListener;import java.util.Date;import javax.swing.JButton;import javax.swing.JFormattedTextField;import javax.swing.JFrame;import javax.swing.JPanel;import javax.swing.JScrollPane;import javax.swing.table.DefaultTableModel;import org.jdesktop.swingx.JXTable;public class MyTable extends JFrame implements ActionListener {     private JXTable table;     private QM6JXDatePicker date;     private QM6JSpinner spinner;     private JFormattedTextField TxtfPriority;     public MyTable() {          String[] columnNames = { "Date", "String", "Integer" };          Object[][] data = { { new Date(), "AAA", 11 }, { new Date(), "B", 22 },                    { new Date(), "CCCCCC", 3 }, { new Date(), "D", 4 } };          DefaultTableModel model = new DefaultTableModel(data, columnNames);          table = new JXTable(model);          table.setPreferredScrollableViewportSize(table.getPreferredSize());          JScrollPane scrollPane = new JScrollPane(table);          getContentPane().add(scrollPane);          JButton button = new JButton("Update");          button.addActionListener(this);          getContentPane().add(button, BorderLayout.SOUTH);          getContentPane().add(getPanel(), BorderLayout.NORTH);     }     public JPanel getPanel() {          JPanel panel = new JPanel();          date = new QM6JXDatePicker();          spinner = new QM6JSpinner();          panel.add(date);          panel.add(spinner);          return panel;     }     public void actionPerformed(ActionEvent arg0) {          java.sql.Timestamp newDate = new java.sql.Timestamp(date.getDate()                    .getTime());          long miliSecDate = newDate.getTime();          String s = spinner.getTime();          String[] timeStr = s.split(":");          long miliSecTimeH = Long.parseLong(timeStr[0].trim());          long miliSecTimeS = Long.parseLong(timeStr[1].trim());          long miliSecTime = ((miliSecTimeH * 60 * 60) + (miliSecTimeS * 60)) * 1000;          newDate.setTime(miliSecTime + miliSecDate);          table.setValueAt(newDate, 0, 0);     }     public static void main(String[] args) {          MyTable frame = new MyTable();          frame.setDefaultCloseOperation(EXIT_ON_CLOSE);          frame.pack();          frame.setVisible(true);     }}
    import java.awt.BorderLayout;
    import java.awt.Color;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.text.DateFormat;
    import java.text.SimpleDateFormat;
    import java.util.Calendar;
    import java.util.Date;
    import javax.swing.JPanel;
    import org.jdesktop.swingx.JXDatePicker;
    import org.jdesktop.swingx.JXHyperlink;
    import org.jdesktop.swingx.calendar.JXMonthView;
    public class QM6JXDatePicker extends JXDatePicker {
         private String[] dateStr = null;
         private DateFormat df;
         private SimpleDateFormat df2;
         private JPanel newLinkPanel;
         private JXMonthView calend;
         public QM6JXDatePicker() {
              df = DateFormat.getDateInstance(DateFormat.LONG);
              df2 = new SimpleDateFormat("dd/MM/yyyy");
              dateStr = new String[] { "dd/MM/yyyy" };
              getJXMonthView();
              LinkPanel();
              setFormats(dateStr);
              setMonthView(calend);
              setLinkPanel(newLinkPanel);
         private void LinkPanel() {
              newLinkPanel = new JPanel(new BorderLayout());
              JXHyperlink todayLink = new JXHyperlink();
              todayLink.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e) {
                        getEditor().setText(df2.format((new Date())));
                        setDate(new Date());
                        getMonthView().getParent().setVisible(false);
              todayLink.setText("Today: " + df.format(new Date()));
              newLinkPanel.add(todayLink, BorderLayout.CENTER);
         private void getJXMonthView() {
              calend = new JXMonthView();
              calend.setTraversable(true);
              calend.setDayForeground(7, Color.RED);
              calend.setDaysOfTheWeekForeground(Color.BLUE);
              calend.setSelectedBackground(Color.YELLOW);
              calend.setFirstDayOfWeek(Calendar.SUNDAY);
         public JXMonthView getCalend() {
              return calend;
         public void setCalend(JXMonthView calend) {
              this.calend = calend;
    import java.util.Calendar;
    import java.util.Date;
    import javax.swing.JSpinner;
    import javax.swing.SpinnerDateModel;
    public class QM6JSpinner extends JSpinner{
         private JSpinner.DateEditor dateEditor;
         public QM6JSpinner() {
              setModel(new SpinnerDateModel(new Date(),
                        null, null, Calendar.MINUTE));
              dateEditor = new DateEditor(this, "HH:mm");
              setEditor(dateEditor);
         public String getTime() {
              return dateEditor.getTextField().getText();
    }Tanks alot!
    Yael

    The main class here...
    import java.awt.BorderLayout;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.util.Date;
    import javax.swing.JButton;
    import javax.swing.JFormattedTextField;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.table.DefaultTableModel;
    import org.jdesktop.swingx.JXTable;
    public class MyTable extends JFrame implements ActionListener {
         private JXTable table;
         private QM6JXDatePicker date;
         private QM6JSpinner spinner;
         private JFormattedTextField TxtfPriority;
         public MyTable() {
              String[] columnNames = { "Date", "String", "Integer" };
              Object[][] data = { { new Date(), "AAA", 11 }, { new Date(), "B", 22 },
                        { new Date(), "CCCCCC", 3 }, { new Date(), "D", 4 } };
              DefaultTableModel model = new DefaultTableModel(data, columnNames);
              table = new JXTable(model);
              table.setPreferredScrollableViewportSize(table.getPreferredSize());
              JScrollPane scrollPane = new JScrollPane(table);
              getContentPane().add(scrollPane);
              JButton button = new JButton("Update");
              button.addActionListener(this);
              getContentPane().add(button, BorderLayout.SOUTH);
              getContentPane().add(getPanel(), BorderLayout.NORTH);
         public JPanel getPanel() {
              JPanel panel = new JPanel();
              date = new QM6JXDatePicker();
              spinner = new QM6JSpinner();
              panel.add(date);
              panel.add(spinner);
              return panel;
         public void actionPerformed(ActionEvent arg0) {
              java.sql.Timestamp newDate = new java.sql.Timestamp(date.getDate()
                        .getTime());
              long miliSecDate = newDate.getTime();
              String s = spinner.getTime();
              String[] timeStr = s.split(":");
              long miliSecTimeH = Long.parseLong(timeStr[0].trim());
              long miliSecTimeS = Long.parseLong(timeStr[1].trim());
              long miliSecTime = ((miliSecTimeH * 60 * 60) + (miliSecTimeS * 60)) * 1000;
              newDate.setTime(miliSecTime + miliSecDate);
              table.setValueAt(newDate, 0, 0);
         public static void main(String[] args) {
              MyTable frame = new MyTable();
              frame.setDefaultCloseOperation(EXIT_ON_CLOSE);
              frame.pack();
              frame.setVisible(true);
    }

  • Problem with date Time Format

    Hi All,
    I want to transform the input date format to ''YYYY-MM-DD-hh.mm.ss'.I am using the below format in format-datetime function in BPEL:
    '[Y0001]-[M01]-[D01]-[h01].[m01].[s01]'
    It is giving correct time and format between 1 and 12 o clock timings in hours('HH' place).But when we give more than 13 it is not giving proper timinngs though it is giving proper format.It is not following 24 hrs format
    Ex : When I give input value '2012-04-05T00:30:00’ and it is transforming '2012-04-05-12.30.00’ (I want it in the same time means '2012-04-05-00.30.00’
    Ex 2: When I give input value '2012-04-05T15:30:00’ and it is transforming '2012-04-05-03.30.00’(I want it in the same time means '2012-04-05-15.30.00’
    Why it is coming like that?Is there any mistake in the specified format('[Y0001]-[M01]-[D01]-[h01].[m01].[s01]')?

    Hi,
    Put H01 and not h01.
    Arik

  • I have got problems with my computers audio and sound

    would u pleas help me to fix my computers sound problem

    Welcome to the Forum, ghirmay99!
    Please take a look at the Sound Help document first.   It is helpful for many issues and will help you explain what is wrong if you cannot fix the problem on your own.
    This page is for Windows 7, there are links on the page to Vista and XP if you need those.
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01912228&cc=us&dlc=en&lc=en
    If you need some more help, you should provide your computer's exact model and your Windows OS (7, Vista, or XP).
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c00033108&cc=us&dlc=en&lc=en
    You may be instructed in the Sound Help document to download your Sound drivers.  If you have the latest HP Support Assistant loaded, it's easy to use the Assistant to get to your personal web page to get to your computer's web page.
    http://h18021.www1.hp.com/helpandsupport/hp-support-assistant.html
    Once you have the HP Support Assistant downloaded and installed, call up the Assistant and go to the Get Assistance page to find a link to "Access online resources for your PC".
    I hope this helps!             
                                                Kudos make us feel shiny and tall --- Select "Accept as Solution" if this benefits all
    Kind Regards,
    Dragon-Fur

  • Problem with date format dd/mm/yyyy. But I need to convert yyyy-mm-dd.

    Dear friends,
    I have the problem with date format. I receiving the date with the format dd/mm/yyyy. But I can upload to MySQL only in the format of yyyy-mm-dd.
    how should I handle this situation, for this I've created these code lines.But I have some problem with these line. please help me to solve this problem.
    String pattern = "yyyy-mm-dd";
    SimpleDateFormat format = new SimpleDateFormat(pattern);
    try {
    Date date = format.parse("2006-02-12");
    System.out.println(date);
    } catch (ParseException e) {
    e.printStackTrace();
    System.out.println(format.format(new Date()));
    this out put gives me Tue Apr 03 00:00:00 IST 2007
    But I need the date format in yyyy-mm-dd.
    regards,
    maza
    thanks in advance.

    Thanks Dear BalusC,
    I tried with this,
    rs.getString("DATA_SCAD1")// where the source from .xls files
    String pattern = "yyyy-MM-dd";
    SimpleDateFormat format = new SimpleDateFormat(pattern);
    try {
    Date date = format.parse("DATA_SCAD1");
    System.out.println(date);
    } catch (ParseException e) {
    e.printStackTrace();
    System.out.println(format.format(new Date()));
    this out put gives me Tue Apr 03 00:00:00 IST 2007
    But I want to display the date format in yyyy-mm-dd.
    regards,
    maza

Maybe you are looking for