How early can you detect pregnancy ?

How early is pregnancy detectable? Is two weeks the earliest?