Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Is it possible to insert current date?

0 views
Skip to first unread message

dam...@beer.com

unread,
Jan 21, 2000, 3:00:00 AM1/21/00
to
As part of my job I have to check and approve drawings created by
others. To approve a drawing I insert my name and the current date.
At present I use a block that inserts my name and asks for the current
date.

Does anyone know of a way to automatically insert the current date?

any help would be much appreciated.
Regards,
Damon Charles


Sent via Deja.com http://www.deja.com/
Before you buy.

CAD4703

unread,
Jan 21, 2000, 3:00:00 AM1/21/00
to
>
>Does anyone know of a way to automatically insert the current date?
>
>any help would be much appreciated.
>Regards,
>Damon Charles

The "RTEXT" command from the Bonus/Express tools will let you do this with a
diesel expression.
$(edtime, ,0" DD MON YYYY )
or somthing like that depends on what format you want it to be in
(day-month-year vs month-day-year)
Murph

jo...@fel.u-net.com

unread,
Jan 21, 2000, 3:00:00 AM1/21/00
to
There is a routine "Julian.lsp" that should be around somewhere on the
net. It takes date info from the system clock and allows you to define
the date/time output format.
I don't know whether it works with A2k.
If you can't find it, let me know - I'll do some digging.

John

On Fri, 21 Jan 2000 11:46:43 GMT, dam...@beer.com wrote:

>As part of my job I have to check and approve drawings created by
>others. To approve a drawing I insert my name and the current date.
>At present I use a block that inserts my name and asks for the current
>date.
>

>Does anyone know of a way to automatically insert the current date?
>
>any help would be much appreciated.
>Regards,
>Damon Charles
>
>

Jim Ruff

unread,
Jan 26, 2000, 3:00:00 AM1/26/00
to
This lsp bit constructs a time stamp in format yyyymmdd.hhmm
(setq NDATE(RTOS(getvar "CDATE") 2 4)) ;;Construct the timestamp.
(setq NDATE (cons 1 NDATE)) ;;Put it in a list.
0 new messages