Skip to main content
15-Moonstone
August 12, 2015
Question

How to get current time & date in Mathcad ?

  • August 12, 2015
  • 5 replies
  • 5380 views

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
August 12, 2015

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

1-Visitor
August 12, 2015

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

19-Tanzanite
August 17, 2015
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

17-Peridot
August 13, 2015

Hello Prashant,

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

Cheers

Raiko

24-Ruby IV
August 17, 2015

I do it with Excel!