点击查看详细介绍

UG NX 二次开发源码-- uc4583函数获取系统当前日期和时间

nxopen 11年前 3889 4

购买与咨询 NX 二次开发视频教程,请联系微信号:13890821008  QQ号:85585969  


使用uc4583 可以获取当前时间:

uc4583("","",time)

extern UFUNEXPORT int uc4583(

const char * date ,/* <I>

Date in any of the following forms

MM/DD/YY

DD-MMM-YY

DDMMMYY

MM/DD/YYYY

DD-MMM-YYYY

DDMMMYYYY

If date is blank, the current date is used

*/

const char * time ,/* <I>

Time in either of the following forms

HH:MM

HH:MM xM (x = 'A' or 'P')

If time is blank, the current time is used

*/

int* dandt /* <O>

Date And Time

(1) = Computational Date

(2) = Computational Time

*/

);

2

最新回复 (4)
  • wsfccdh 11年前
    1

    我就不客气收下来学习了

  • q1355188058 8年前
    2

    收下来学习了..........

  • zhixiang 8年前
    3

    谢谢分享!!!!!!!!!!!!

  • licxsw 7年前
    4

    我就不客气收下来学习了

请登录后发表新帖