Skip to main content
15-Moonstone
Aug 12, 2015 11:24 AM UTC
Question

How to get current time & date in Mathcad ?

Hi..

Please can I know, How to get current time & date in mathcad ?

or any way to get any unique number.

I want to write file with its unique name for every saved mathcad sheet.

Regards,

Prashant Pandarkar

5 replies

12-Amethyst
Aug 12, 2015 1:16 PM UTC

hope these help

Time(0) and hhmmss - see attached.

Time(0) is system time (number of seconds since ... 1 Jan 1970? - so should be unique)

Regards

Andy

Translate
1-Visitor
Aug 12, 2015 8:26 PM UTC

If you are using Mathcad 15 or below you may use Richards scripted components you may find hidden somewhere her in the forum.

If you are just using Prime, you may have a look here

Custom Functions in Mathcad Prime 3.0

I think the demo shows a function returning the current date and time.

LT

Translate
19-Tanzanite
Aug 17, 2015 10:21 AM UTC
If you are using Mathcad 15 or below you may use Richards scripted components you may find hidden somewhere her in the forum.

Here: Date Calendar and Time functions.mcd - PTC Community

Translate
17-Peridot
Aug 13, 2015 8:15 AM UTC

Hello Prashant,

here is a worksheet with MathCad 15 time functions. Hope this helps.

Cheers

Raiko

Translate
24-Ruby IV
Aug 17, 2015 3:13 PM UTC

I do it with Excel!

Translate