Page 1 of 1 1
Topic Options
#126397 - 2004-09-09 09:03 PM have done some files and want to copy them somewhere else no problem but add date and time on end
mbu10 Offline
Fresh Scripter

Registered: 2004-09-08
Posts: 27
have done some files and want to copy them somewhere else no problem but add date and time on end without the /
have tried making a $date="@date" but that returns date but has / in the out put anyway of returning this without the /
?
thanks

Top
#126398 - 2004-09-09 09:06 PM Re: have done some files and want to copy them somewhere else no problem but add date and time on end
ShaneEP Moderator Offline
MM club member
*****

Registered: 2002-11-29
Posts: 2127
Loc: Tulsa, OK
How about...

$date = Join(Split(@Date,'/'),'')

Top
#126399 - 2004-09-09 09:10 PM Re: have done some files and want to copy them somewhere else no problem but add date and time on end
ShaneEP Moderator Offline
MM club member
*****

Registered: 2002-11-29
Posts: 2127
Loc: Tulsa, OK
There are also numerous other date macros you can combine in any way youd like. Check the manual in the Macros section to find a list. For example...

$date = "@monthno@Mdayno@Year"

Top
#126400 - 2004-09-09 09:14 PM Re: have done some files and want to copy them somewhere else no problem but add date and time on end
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
mbu10,
You obviously have some sort of aversion to reading the manual and searching the board because every question you have asked so far has been answered here or in the manual several times.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#126401 - 2004-09-09 09:38 PM Re: have done some files and want to copy them somewhere else no problem but add date and time on end
mbu10 Offline
Fresh Scripter

Registered: 2004-09-08
Posts: 27
have been looking for item but think i have been searching for the wrong thing to be honest try to do as much my self as i can

Top
#126402 - 2004-09-09 09:43 PM Re: have done some files and want to copy them somewhere else no problem but add date and time on end
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Well... a simple search on the two words date filename turned up this in a matter of seconds.
@DATE
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 1022 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.054 seconds in which 0.023 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org