[CMake] How to obtain "date of the day"

Jean-Christophe Fillion-Robin jchris.fillionr at kitware.com
Thu Aug 5 09:46:11 EDT 2010


hi Folks,

Earlier in the day, somebody asked me how he could obtain "today date" using
cmake.
I replied there was no direct way to obtain the date and I told him to use a
macro I wrote.
See
http://viewvc.slicer.org/viewcvs.cgi/trunk/CMake/Slicer3TodayMacro.cmake?rev=11898&view=log

Is there a better a way to retrieve "today date" ?

Thks
Jc

-- 
Phone: 1-518-836-2174
Ext: 304
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100805/862dc595/attachment.htm>


More information about the CMake mailing list