• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
Collapse

You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:

  • You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
  • You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
  • If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Previously on "Midnight 12:00am or 12:00pm"

Collapse

  • TheRefactornator
    replied
    I need a "Thinking about this it makes my head explode" option

    Leave a comment:


  • NotAllThere
    replied
    Since an instance in time lasts only an instance (or possibly 5.39121 x 10^-44 seconds), it's never (or only extremely briefly) exactly midnight. Therefore any time you're likely to measure is either before midnight (up to 23:59:59.999999999999999999 ) or after (from 00:00:00:000...001). So it should be 12:00am.

    I think the convention is that is 12:00am - which is the consensus here. If that causes problems then use the 24 hour clock. According to wikipedia (yeah yeah) 24:00 is ok.

    Leave a comment:


  • ThomasSoerensen
    replied
    24:00:00

    Leave a comment:


  • NickFitz
    replied
    Originally posted by ASB View Post
    Neither. It's 12 noon or 12 midnight. If you must choose it's AM since it's 00.00 not 24:00 and it's the start of a new day.
    WHS.

    Leave a comment:


  • Sockpuppet
    replied
    I just use 00:00

    AM/PM is therefore not relevant.

    Leave a comment:


  • ASB
    replied
    Neither. It's 12 noon or 12 midnight. If you must choose it's AM since it's 00.00 not 24:00 and it's the start of a new day.

    Leave a comment:


  • PAH
    replied
    Originally posted by Spacecadet View Post
    I've always thought it was 12am

    SQL Server treats it as AM:


    select convert(varchar, cast('20080101' as datetime), 109)
    Jan 1 2008 12:00:00:000AM


    Then it's wrong. Midnight cannot be after midnight. It's 12pm, everything else is illogical. Spock will back me up...

    Leave a comment:


  • Spacecadet
    replied
    Originally posted by PAH View Post
    So does 11pm come before or after midnight.
    after

    12 midnight = 00:00 hours and is the start of a new day

    Leave a comment:


  • Spacecadet
    replied
    Originally posted by NotAllThere View Post
    Which is it?

    I think the former
    I've always thought it was 12am

    SQL Server treats it as AM:


    select convert(varchar, cast('20080101' as datetime), 109)
    Jan 1 2008 12:00:00:000AM

    Leave a comment:


  • PAH
    replied
    So does 11pm come before or after midnight.

    Leave a comment:


  • NotAllThere
    started a poll Midnight 12:00am or 12:00pm

    Midnight 12:00am or 12:00pm

    38
    am
    92.11%
    35
    pm
    7.89%
    3
    Which is it?

    I think the former

Working...
X