Skip to main content
15-Moonstone
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

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

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
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

Hello Prashant,

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

Cheers

Raiko

Translate
24-Ruby IV

I do it with Excel!

Translate