View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
daddylonglegs
 
Posts: n/a
Default format date time


If you want to keep the result as text

=LEFT(A1,FIND(" ",A1)-1)

or

=TEXT(DATEVALUE(A1),"m/d/yyyy")


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=513373