By bus: For me coming in from Darkest 'The Sunny Kingdom of Fife (TM)' its an hour Door ro Door by bus, but the bus stop is 20 yards from my gate, and I work above the bus station.
By Train, its ~15 mins door to getting on the train, ~35 - 40 mins by train and ~5 mins, Train to work. So Sstill an hour.
By bike its around an hour but thats taking the faster A90 with its inherent traffic, potholes, traffic lights problems. After 9pm I can wizz home in ~55 mins, but on a normal commute I'll ride through Dalmeny and take the longer NEPN which spits me out at Tesco Broughton before heading up to York Place. Time is usually ~1 hour, 10 mins.
The down sides of Public Transport are getting stuck in traffic, just after I've had that extra cuppa meaning I'm bursting for a wee as we crawl down the A90! The train is not so bad, but you have to pay in Edinburgh station. The bike is no probs, I just water the plants, somewhere quiet! ;O)