如何在c中为此WMI调用设置StartTime [英] How to set the StartTime for this WMI call in c

查看:134
本文介绍了如何在c中为此WMI调用设置StartTime的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hai.

i创建wmi函数以安排任务.

我将参数设置如下

hai.

i Creating the wmi function to schedule the task.

parameter i set as follows

method.SetInParam(L"Command",chFileArgs);
        method.SetInParam(L"DaysOfMonth",65536);
        method.SetInParam(L"DaysOfWeek",8);
        method.SetInParam(L"StartTime",?????);



如何设置开始时间(???????)

我可以给定开始时间作为方法.SetInParam(L"StartTime",L"20111117120555.000000 + 320");

但是如何给用户输入.在那个地方..



how to set the start time (???????)

i can give start time as method.SetInParam(L"StartTime",L"20111117120555.000000+320");

But how to give user input. in that place ..

推荐答案

http://www.epochconverter.com/programming/functions-c.php [ ^ ]我认为这应该可以给您带来很好的启动效果..
http://www.epochconverter.com/programming/functions-c.php[^] I think this should give you very good startup ..


这篇关于如何在c中为此WMI调用设置StartTime的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆