Min Date with 12 hour format

Dear friends,

I'm working on a query... I have the date field... I want my date field date min show but also it must show in am / pm format.

now when I am using the following query shows the date min perfectly, but it shows the date in 24-hour format because I use 24-hour format.

(select min (to_char (date, "MM/DD/RRRR HH24 double:MI:SS')).))

but when I apply 12 hours in shape its been not indicating the date of min

(select min (to_char(date,'MM/DD/RRRR HH24:MI:SS am ')) of the double.

Help, please... and kindly let me know the reason for this

You do not MIN date, you MIN of the chain.
Put the MIN inside your TO_CHAR:

to_char(min(date),'MM/DD/RRRR HH:MI:SS am ')

In general: almost always is the outermost TO_CHAR function called, so that the inside work all work on dates, and then the to_char is just to format the result as a string.

Tags: Database

Similar Questions

  • [OSB] Specification of date and hour format custom in the generator of MFL/Format

    It is possible to specify a date and time format customized by MFL (e.g. use of the Format, or directly from the MFL XML document generator). I work with a file format that contains dates of the form:
    Bq yyyymmmdd HHMM .
    that is a chain of fourteen characters, with a year to four numbers, three letters, two-digit day, a space as separator, followed by a two-digit hour and a two-digit minute. Each part is included in at least one of the available conversion specifiers, but date part, the part of time, or whole, are available in the form of a standard conversion specifier. I was not able to find a reference to formats date and hour customized using the Format generator or Non - XML data Mapping sample.

    Of course, the field can be treated as a string and converted downstream, but it had a native XML dateTime type as part of the conversion would be ideal.

    Note that the Native Format Manager supports date formats specified by the user, as shown in [http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28994/nfb.htm#CCGJDGGJ].

    Thank you

    Geoff.

    Edited by: geofft 1 Sep 2008 11:09

    The asnwer is in your question:

    Note that the Native Format Manager supports date formats specified by the user, as shown in the http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28994/nfb.htm#CCGJDGGJ.

    It is not possible.

    Marc

  • Calculate business hours between 2 dates with negative numbers

    Hi all

    I use a function to calculate the difference between 2 dates schedules. The function was taken and adapted from this thread:

    Calculate business hours between two dates in a cursor

    CREATE OR REPLACE
      FUNCTION get_bus_minutes_between(
                                       p_start_date DATE,
                                       p_end_date DATE
                                      )
        RETURN NUMBER
        IS
            v_return NUMBER;
        BEGIN
            with t as (
                       select  case level
                                 when 1 then greatest(p_start_date,trunc(p_start_date) + 9 / 24)
                                 else trunc(p_start_date) + level - 15 / 24
                               end start_dt,
                               case connect_by_isleaf
                                 when 1 then least(p_end_date,trunc(p_end_date) + 20 / 24)
                                 else trunc(p_start_date) + level - 4 / 24
                               end end_dt
                         from  dual
                         connect by level <= trunc(p_end_date) - trunc(p_start_date) + 1
                      )
            select  sum(greatest(end_dt - start_dt,0)) * 24 * 60 work_minutes
              into  v_return
              from  t
              where trunc(start_dt) - trunc(start_dt,'iw') < 5; -- exclude weekends
            RETURN v_return;
        END;
        /

    I am running into an issue that when the p_end_date is before the p_start_date value the function returns the full time between the dates without regard for business hours. if the end_date is before the start date I get the expected result i.e. difference between the dates in business hours.

    Using example dates of start 19th October 2012 13:00:00 and end 22nd october 2012 13:21:00 the business minutes are 681. However if i reverse the dates I get -4341.


    Correct labour code is the following, I've annotated so that he could help someone else looking for a solution like this:

    CREATE OR REPLACE
      FUNCTION get_bus_minutes_between(
                                       p_start_date DATE,  --these are the 2 dates passed into the function
                                       p_end_date DATE     --these are the 2 dates passed into the function
    )
    RETURN NUMBER
    IS
    v_return NUMBER;

            l_start  DATE;

            l_end    DATE;

            l_factor NUMBER;
        BEGIN

            IF p_start_date <= p_end_date THEN            --this IF section checks which of the 2 dates is the greatest

               l_start  := p_start_date;                  -- and then assigns the earliest date to p_start_date

               l_end    := p_end_date;

               l_factor := 1;

            ELSE   -- swap the dates around, and multiply the result by -1

               l_start  := p_end_date;

               l_end    := p_start_date;

               l_factor := -1;

            END IF;

            with t as (
                       select  case level
                                 when 1 then greatest(l_start,trunc(l_start) + 9 / 24)  -- this sets the start of working hours
                                 else trunc(l_start) + level - 15 / 24  --if the start time is adjusted this value must also be adjusted
                               end start_dt,
                               case connect_by_isleaf
                                 when 1 then least(l_end,trunc(l_end) + 20 / 24)  -- this sets the end of working hours
                                 else trunc(l_start) + level - 4 / 24  -- if the end time is adjusted this value must also be adjusted
                               end end_dt
                         from  dual
                         connect by level <= trunc(l_end) - trunc(l_start) + 1
                      )
            select  sum(end_dt - start_dt) * 24 * 60 work_minutes  -- this subtracts the 2 dates and then multiplies by hours and minutes
              into  v_return
              from  t
              where trunc(start_dt) - trunc(start_dt,'iw') < 5; -- this exclude weekends
            RETURN v_return * l_factor;  -- this gives the negative or positive results so you can see if it was completed before or after the required date.
        END;
        /

  • Order by date with a format mask column

    10g - 10.2.0

    Hello

    This is my request
    select to_char(exp_Date,'Mon-YYYY') dt, count(*) from exp_main
    where exp_type like 'Income%Photo%'
    group by to_char(exp_Date,'Mon-YYYY')
    order by exp_date
    
     
    When I run this I get: not a GROUP BY expression

    If I remove the order by, it works fine.

    Is it possible to order by since the output of the query is sorted character.

    I search online most suggested to use the order of column_name. But does not work for me.

    Thank you!
    Ryan

    Hello

    Keep the date information as a DATE, with the exception (if required) for display. That means that GROUP BY and ORDER BY DATE, not a string:

    SELECT    TO_CHAR ( TRUNC (exp_Date, 'MONTH')
                  , 'Mon-YYYY'
                )          AS dt
    ,       COUNT (*)           AS cnt
    FROM        exp_main
    WHERE        exp_type     LIKE 'Income%Photo%'
    GROUP BY  TRUNC (exp_Date, 'MONTH')
    ORDER BY  TRUNC (exp_date, 'MONTH')
    ;
    
  • How to get the drop-down menus to insert the time in format 24 hours a day instead of 12-hour format?

    Need help with form that inserts a time defined by the user in a new record using the drop-down list three menus, php 5.3 and mysql on OS X system.


    I have a problem of formatting the values inserted in 12-hour am/pm time format in mysql time 24 hours format. I don't know how or where to do the necessary changes. I use a Web script that works as required, with the exception of conversion on the issue of the time.


    I tried to format time in mysql using DATE_FORMAT and TIME_FORMAT, change formatting using php, using another function to add 12 hours, using advice from various forum posts, using a hidden field and reorganize the content of the page, but I am unfortunately too inexperienced and awkward in the areas involved to shoot successfully it all together; Instead, I just managed to confuse me and make hash of the encoding.


    The code on the page works (inserts in the mysql database) but not inserts do not pm time. The mysql field is a basic time with a default value of 00:00:00. I have need the date as the time lists are especially necessary for planning purposes unrelated to any specific date.


    I would appreciate help, ideas, pointers or ideas is at work. It is a new area for me. Thank you.

    Parts of code:

    $hours = ' < select name = "time" > "'. ' \n';"

    $minutes = ' < select name = "min" > "'. ' \n';"

    function check ($num)

    {

    If ($num < 10 & & strlen ($num) < 2)

    {

    $num = '0'. $num;

    }

    return $num;

    }

    for ($i = 0; $i < 13; $i ++)

    {

    $hours. = ' < option value = "' check ($i)." » » >'. $i. "< / option >". » \n » ;

    }

    $hours. = "< / Select >.

    for ($i = 0; $i < 60; $i += 5)

    {

    $minutes. = ' < option value = "' check ($i)." "" ">"check ($i). "< / option > '. » \n » ;

    }

    $minutes. = "< / Select >.

    If (isset($_POST['submit']) & & $_POST ['submit'] == 'Submit')

    {

    echo ' the time that you entered is: ';

    $hour = $_POST ['hour'];

    $min = $_POST ['min'];

    $ampm = $_POST ["ampm"];

    echo date (' h: i a ", strtotime ($heure.': '.)") $ min. ' '. $ampm));

    echo "< hr > ';

    }

    ? >

    Insert and query the Recordset:

    $insertSQL = sprintf ("INSERT INTO endtimelist (EndTime) VALUES (%s)", GetSQLValueString ($_POST ['time']. ':'.) ") $_POST ['min']. 00', 'date'));

    $query_rsEndTimeList = "SELECT EndTimeListID, EndTime, TIME_FORMAT (endtimelist.» End time, "(% h: %i %p ') AS EndingTime FROM endtimelist ORDER BY EndTime ASC"; "

    Form:

    < form action = "<?" PHP echo $editFormAction;? ">" method = "POST" name = "endtime" id = "endtime" >

    Time: <? PHP echo $hours;? >: <? PHP echo $minutes;? >

    < select name = "ampm" > < option value = "am" selected = "selected" > AM < / option > < option value = "pm" > AM < / option > < / select > < br >

    < input type = "submit" name = "submit" value = "Submit" >

    < input type = "hidden" name = "MM_insert" value = "endtime" / >

    < / make >

    There is nothing wrong with your brain. You did it very well. Is to forget the details such as 12 noon and midnight, causing stupid errors of logic in the code.

    The book, I plan to write will be about Dreamweaver and PHP, covering many aspects not addressed is not my course books. I expect to publish by May next year, but there have been unforeseen delays, it is not likely to be interrupted until June or July. Writing a book is a tedious exercise.

  • Why the 24-hour format will not appear in the status bar taskbar

    I set the time in the control panel for the 24-hour format. It appears correctly. I click on apply and ok, but it still appears as short type display, meridians in the taskbar. It will appear correctly in Win 7.

    Thank you.

    Hello

    Welcome to the Microsoft community. According to the description of the problem the clock will not show the format of 24 hours in tray taskbar.

    ·         Did you do changes on the computer before the show?

    ·         If it works much earlier?

    I'll help you with this problem. I suggest you to follow these steps and check.

    (a) go to the desktop mode.

    (b) press the Windows key + R, type Control Panel at the run prompt, and press enter.

    (c) click on clock, language and region. Click on the date and time.

    (d) click the tab change the date and time .

    (e) click change calendar settings.

    (f) go to the time tab and under the section time formats Select format hh: mm in the drop for a short time.

    (g) click apply and ok.

    I hope this helps. Let us know if you need help with Windows related issues. We will be happy to help you.

  • The ADF table: filter on columns of stamp with a specific format in the indications of the user interface

    Hi all

    I have problem when filtering on af timestamp column: table.

    I have a table containing historical information (created_on and modified_on), it is mapped to an entity:

    Type = "Oracle.jbo.domain.date"

    ColumnType = "DATE".

    I've seen object mapped from this entity.

    I want to display created_on and modified_on with timestamp (hour and minute), so I add the tips of the user interface for these 2 columns:

    -Type format: Date Simple

    -Size: MM/DD/YYYY HH: mm

    I create a table based on this point of view. The table is filterable.

    The column like this:

    < af:column sortProperty = "#{bindings." View.hints.CreatedOn.name}"blockable = 'true '.

    sortable = "true" headerText = "#{bindings." View.hints.CreatedOn.label}"id ="c6">

    < f: facet = name 'filter' >

    < af:inputDate value = "#{bindings." ViewQuery.queryDescriptor.filterConjunctionCriterion.criterionMap.CreatedOn.value}.

    ID = "id2" >

    < af:convertDateTime pattern = "#{bindings." View.hints.CreatedOn.format}"/ >

    < / af:inputDate >

    < / f: facet >

    < af:outputText value = "#{rank." CreatedOn}.

    shortDesc = "#{bindings." VIew.hints.CreatedOn.tooltip}"id ="ot6">

    < af:convertDateTime pattern = "#{bindings." View.hints.CreatedOn.format} ">"

    < / af:outputText >

    < / af:column >

    When I filter on 2 columns (created_on, modified_on) I got an error: " java.lang.IllegalArgumentException: ADFv: could not convert the instance: 30/07/2014 09:51 type: class java.lang.String in class of type null oracle.jbo.domain.Date."

    Do you have an idea for me?

    Thanks in advance.

    Here is the stacktrace:

    Caused by: java.lang.IllegalArgumentException: ADFv: could not convert the instance: 30/07/2014 09:51 type: class java.lang.String in oracle.jbo.domain.Date of type null class.

    at oracle.adfinternal.view.faces.convert.DomainConverter._throw(DomainConverter.java:155)

    at oracle.adfinternal.view.faces.convert.DomainConverter.convert(DomainConverter.java:120)

    to oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding$ AdfFilterAttributeCriterion.getValue (FacesCtrlSearchBinding.java:5127)

    at sun.reflect.GeneratedMethodAccessor448.invoke (unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:601)

    at javax.el.BeanELResolver.getValue(BeanELResolver.java:305)

    at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176)

    at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203)

    at com.sun.el.parser.AstValue.getValue(AstValue.java:138)

    at com.sun.el.parser.AstValue.getValue(AstValue.java:183)

    at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:224)

    at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:73)

    at oracle.adfinternal.view.faces.renderkit.rich.ValueRenderer.getValue(ValueRenderer.java:195)

    at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputBaseRenderer.renderContentStyleAttributes(SimpleInputBaseRenderer.java:524)

    at oracle.adfinternal.view.faces.renderkit.rich.FormInputRenderer.renderAllContentAttributes(FormInputRenderer.java:480)

    at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputBaseRenderer.renderAllContentAttributes(SimpleInputBaseRenderer.java:230)

    at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputDateRenderer.renderAllContentAttributes(SimpleInputDateRenderer.java:712)

    at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputDateRenderer.renderElementContent(SimpleInputDateRenderer.java:592)

    at oracle.adfinternal.view.faces.renderkit.rich.FormInputRenderer.encodeAllAsElement(FormInputRenderer.java:169)

    at oracle.adfinternal.view.faces.renderkit.rich.FormElementRenderer.encodeAll(FormElementRenderer.java:165)

    at oracle.adf.view.rich.render.RichRenderer.delegateRenderer(RichRenderer.java:1828)

    at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.renderFieldCellContents(LabeledInputRenderer.java:244)

    at oracle.adfinternal.view.faces.renderkit.rich.LabelLayoutRenderer.encodeAll(LabelLayoutRenderer.java:254)

    at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.encodeAll(LabeledInputRenderer.java:231)

    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1578)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:1085)

    to oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer$ UIXColumnFilterWrapper._encodeChild (BaseColumnRenderer.java:2486)

    to oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer$ UIXColumnFilterWrapper.encodeChildren (BaseColumnRenderer.java:2454)

    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1779)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)

    at oracle.adf.view.rich.render.RichRenderer.encodeChildInContext(RichRenderer.java:3251)

    at oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer._renderOrVisitFilterFacet(BaseColumnRenderer.java:1938)

    at oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer.renderColumnFilterCell(BaseColumnRenderer.java:1324)

    at oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer.encodeAll(BaseColumnRenderer.java:168)

    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1578)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:1085)

    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1786)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)

    to oracle.adfinternal.view.faces.renderkit.rich.table.BaseTableRenderer.access$ 2900 (BaseTableRenderer.java:78)

    to oracle.adfinternal.view.faces.renderkit.rich.table.BaseTableRenderer$ FlattenedColumnEncoder.processComponent (BaseTableRenderer.java:3155)

    to oracle.adfinternal.view.faces.renderkit.rich.table.BaseTableRenderer$ FlattenedColumnEncoder.processComponent (BaseTableRenderer.java:3129)

    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:195)

    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:326)

    at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:291)

    at oracle.adfinternal.view.faces.renderkit.rich.table.BaseTableRenderer.encodeFlattenedColumn(BaseTableRenderer.java:2928)

    at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer._renderFilterRow(TableRenderer.java:2508)

    at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer._renderColumnHeaderTable(TableRenderer.java:2113)

    at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer._renderColumnHeader(TableRenderer.java:1899)

    at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer.encodeAll(TableRenderer.java:727)

    Hello

    This is a bug in the ADF (Bug 17380741 not public) and it resolved in JDev 12.1.3.

    Kind regards

    Sébastien

  • support in 24-hour format discussion communities

    What: there seems to be a lot of interest for 24 hours format support in iCloud. I was wondering if this should be supported in both discussion communities why: easier to type; easier to do math with; iCloud integration and other products that support it. How to:

    It is a voluntary forum.

    If you wish to speak with Apple, you can submit this question to

    Apple.com/Feedback

  • After the update to OS 9.2.1 connection of my mini iPad with a VGA projector no longer works... Any clue?

    After the update to OS 9.2.1 connection of my mini iPad with a VGA projector no longer works... Any clue? Thank you

    Try resetting your device. This will not erase your data stored on that device.

    • Press and hold the sleep/wake button
    • Press and hold the Home button
    • Press and hold both buttons until the display turns off and on again with the Apple logo on the subject.

    Alternatively, you can go to settings - general - reset - Reset all settings

    If that doesn't work, restore your device to factory settings. Please note that this will delete the data on your device.

    Take a look this Apple Support article: use iTunes to restore the iPhone, iPad or iPod to factory settings - Apple Support.

  • With a sampling of the data with DAQMX, error-200279 occurs when making 2d array dbl

    Hello

    I did a system of simple analog voltage with DAQMX data acquisition.

    It is made for reading of capacitance, where output capacitance value out of a circuit in the periodic voltage signal.

    What I want is to get data from four capacitors simultaneously through four channels, using samples n n (dbl 2d).

    The structure of my VI is almost similar with examples of continuous sampling of voltage in LabView, with the exception of a few other calculations in the loop.

    And for the synchronization of the trigger, I've corrected the edge of release with the external signal from the capacitance reading circuit.

    Version no. 1 has a channel for data input voltage. Version n ° 2 has four channels for the input data.

    While ver.1 can get accurate reading of four capacitors circuit data each (a single channel at a time),.

    ver.2 acquires four channels of data, with a single thin data channel, all the others were wrong.

    I saw a 200279 error occur in the DAQMX read part 2d dbl, so I tried increasing the buffers by changing the sampling frequency or the number of samples, but it wasn't everything.

    I rose for most of the forums with the 200279 error, but the solution would not work on mine.

    Anyone can find the problem? I will attach my screws it may include a bit of Korean language, but most of them are in English, shouldn't be too hard to recognize. Sorry for the inconvenience.

    Oh I forgot, my DAQ is NI USB-6259, and it works in Win XP sp3 and LabView 8.6.

    Thank you.

    Hello Azurenight,

    The 6259 is a DAQ card of the M Series Multiplexed, which means that it is not possible to sample each signal at the same instant, rather the channels are all sent through the ADC even and must be sampled in order. More information on this can be found here:

    LabVIEW Help: Multiplexing compared with simultaneous sampling

    http://zone.NI.com/reference/en-XX/help/370466W-01/mxcncpts/multisimulsamp/

    It may still be possible to get the data you need with the card you have - could you give more information about the maximum eligible period between samples on different channels?

    If you require * real * simultaneous sampling, you will probably need different hardware.

    Kind regards

  • read data with rs-232 port

    Hello

    I need to read data from an instrument using RS-232 serial connection. The instrument transmits data as soon as it is turned on. the power button is on the instrument, and I need to send a signal to transmit data. I use NEITHER usb to RS232 hub as my laptop is not a RS-232 port. I tried the basic writing and read.vi but can't get the buffer.

    Setting for serial port:

    Bits per second: 9600
    Data bits: 8
    Parity: None
    Stop bits: 1
    Flow control: no

    Transmitter of data is in the format below

    19/11/08; V0.48 pressure; UNITS = lb/po2; ALARMS: HP1 = 0.00; LP1 = 0.00; HP2 = 0.00; LP2 = 0.00; HP3 = 0.00; LP3 = 0.00; HTM = 0.00; LTM = 0.00;
    Sensor 1 ID = S1-220160-1008; MAXP = 6.03. 14/11/08; 0003-PZ =; CF1 = 1.081; CF2 = 0,953; CP1 = 54.00; CP2 = 6.00; CCF = 1.000; CPZ = 00000
    Sensor 2 ID = S1-220161-1008; MAXP = 6.02; 14/11/08; PZ = 00002; CF1 = 1.012; CF2 = 1.013. CP1 = 54.00; CP2 = 6.00; CCF = 1.000; CPZ = 00000
    3 sensor disconnected;
    RT, P1, P2, P3, TM
    10:54:09, 0.02 0.02,-.-, 0.02,.

    Can someone help me understand why the program fails to read the data.

    Thanks in advance,

    Rambeau

    Try to run with Hyperterminal to see if you have found anything of your device.  When Hyperterminal works, then try your VI.

    You don't need really the business structure in your vi.  You wiring is difficult to keep up with all these curves and segments being hidden.  Here's how your vi should look like:

  • Message: "the Security Center service cannot be started. I am running Vista, fully up to date with AntiVirus & Anti Malware, & others. Unable to change the center of security of people with DISABILITIES.

    Message: "the Security Center service cannot be started. I am running Vista, completely up-to-date with Avira AntiVirus, Malwarebytes - Anti-Malware, MS/scans of Windows Security Center (for example MS Fix It programs Center), etc. No Malware has been found. Despite me trying to re - set the Security Center using start > Services > SecurityCenter > change to "Automatic (delayed start)" people with disabilities > start > output the re-creation is not the owner and I'm back with no security - with the same message as the original. I spent hours trying to deal with this. There is no known new applications/programs, and the problem started about 3 days ago. Help requested - thanks. JohnG - Sydney

    Hello

    ·         Are you can change the Security Center service parameter by using a different user account on the computer?

    I suggest you to make sure that Windows Defender is running. Follow the below mentioned articles and check.

    Follow the suggestions below for a possible solution:

    Method 1: I suggest you perform the clean boot and check.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.Microsoft.com/kb/929135

     

    Note: After troubleshooting, be sure to configure the computer to start as usual as mentioned in step 7 in the above article.

    Method 2: If the method above is not enough, then I suggest refer you the link try the steps and check if that helps:

    How to perform an upgrade on the spot on Windows Vista, Windows 7, Windows Server 2008 & Windows Server 2008 R2

    http://support.Microsoft.com/kb/2255099

     

    Note:

    You can back up data to an external hard drive and no CD. It is essential to back up data even if you do an upgrade on the spot.

    If you are using the original computer and the new laptop image, you will need to purchase a product key to activate the copy of windows installed on the laptop.

    Hope the information is useful.

  • hour in 24-hour format

    Date date = new Date();
    
    SimpleDateFormat sdFormat2 = new SimpleDateFormat("hh:mm");                    DateField dateField2 = new DateField("TIME Mode", date                      .getTime(), sdFormat2);
    

    Here I get time Format 12 hours, but I want in 24 hours Format please help me how to get that

    The Java Doc -.

    SimpleDateFormat sdFormat2 = new SimpleDateFormat("HH:mm");

  • Mini Data Center design

    Hello

    I have a few doubts about the best solution for the design of a mini data center.

    In the data center, there is a 6500 with FWSM module installed, there are a few created vlans, each of them in the fwsm module. For example, a back-end to communicate with a server in the front end server must always go through the firewall. My question is, these flows through the firewall that does not reduce the speed of communication?

    What is the best practice, just to pass the communications with the Wan in the firewall, and the communication of vlan between front-end and back-end is only set up to 6500?

    Thank you

    Although security is a subject with many facets. How to fix you can do things depends on part on your needs to provide the functionality for the application to work.

    If the database servers do not need to Internet, just keep on a VLAN internal only and do not allow to be routed even initialized requests internally by. If the database servers have need to talk to the Internet (why is this really necessary would be a good question to ask - a bastion host could be used instead?), then lock the rules in the FWSM with an access list that allows only addresses and ports as necessary for the minimum necessary service work.

    In any scenario, your should analyse your servers (for example with Nessus) and harden to reduce their exposed attack surface. Additional measures could include things like Tripwire on the servers to block further down. Audit of system access - and actually looking at the newspapers! -also helps. Tools such as iptables on Linux or Windows Firewall servers must be a lever to allow only the communications in and out of the box as necessary so that it can perform its designated function.

  • HP mini computer with win 7 - Message = "preparing for first use." A loop.

    It is a HP mini 110 with win 7.  and original Label and number below

    Start-up display "preparing for first use."

    Then "could not complete the installation.

    Then disconnects and reboots.

    Tried to access the drive with a usb stick and "rufus" s/w. can enter the machine but I can only see c:\ drive with access to BACK of rufus. Tried several ways to see the internal drive of the machine to correct the problem without success.

    Tried MS 'diskpart', no other player found.

    I need commands to work on the machine of my bootable usb key. 5 hours in this now.

    Thank you for your attention, Rich

    The machine is now out of my hands and the owner had supported for $40.  by someone who is a little more knowledge than I have.

    Thank you for your response.

Maybe you are looking for