Software Archive
Read-only legacy content
17061 Discussions

how to save the video filename with time

wei_j_
Beginner
176 Views

I want to save video by function SetFileName(pxcchar *filename)  and I hope the filename would be related to current time.

like,C:\recording\2016-5-1 18:00.rssdk"

But I dont know how to add the current time after C:\\recording\\

I search the Google and find the CTime function to change the current time into Char format.

But faild in the step :filename=L"C:\\recording\\"+time(char format)

can you give me a example ?

Thank you very much!

 

0 Kudos
0 Replies
Reply