the longest time

Milton   Wed Mar 11, 2009 8:57 am GMT
Hi, would this sentence be appropriate in formal writing:
''It took me the longest time to figure out how to open the windows.''

Thanks
171T   Wed Mar 11, 2009 11:25 am GMT
"It took me a surprisingly/unexpectedly/unusually long time to figure out how to open the windows."