Excel - Concatenate the date with time

Issue

I have a date in a cell (A1) in the dd/mm/yyyy format, generated by the today() function.

  • In another cell (B1), I have the time, in the hh:mm format,)generated by the TIME() function.
  • I want to concatenate both in cell (C1), to get data in this format "dd/mm @ hh:mm".

Actually I'm doing it manually, can it be done via a macro.

Solution

No need to concatenate date and time , simply use the Now() function.

Ask a question
CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jean-François Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.
This document, titled « Excel - Concatenate the date with time », is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).