你用strFromReal()函数试试,我看视屏的示例有这么一段:
string avFileName ;
avFileName="e:\其它\bb\"+
StrFromReal(\\本站点\$年,0,"f")+
StrFromReal(\\本站点\$月,0,"f")+
StrFromReal(\\本站点\$日,0,"f")+
StrFromReal(\\本站点\$时,0,"f")+
StrFromReal(\\本站点\$分,0,"f")+
StrFromReal(\\本站点\$秒,0,"f")+".bmp";
视屏播放.SaveVideoFrame(avFileName);
是将年月日加到一起变成字串的。