"Created Date" as XY Variable

Features wanted...
Post Reply
Lare2
Posts: 65
Joined: 18 Sep 2006 08:29

"Created Date" as XY Variable

Post by Lare2 »

Today I decided to give a try to the scripting feature of XYplorer. But couldn't do it because, to my surprise, the Created Date variable wasn't available for use. :(

Image

http://88.191.26.34/XYwiki/index.php/Sc ... _Variables

I'm reading the XY Variables wiki page and only see the following two.

Code: Select all

<myyyymmdd_hhnnss> 
    Modified date/time of the currently focused & selected List item 
<dyyyymmdd_hhnnss> 
    Current date/time
Am I missing something or this one is not available at all. :shock:

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: "Created Date" as XY Variable

Post by admin »

Lare2 wrote:I'm reading the XY Variables wiki page and only see the following two.

Code: Select all

<myyyymmdd_hhnnss> 
    Modified date/time of the currently focused & selected List item 
<dyyyymmdd_hhnnss> 
    Current date/time
Am I missing something or this one is not available at all. :shock:
Your shock is okay. It's missing. I curse the day when I decided to call them <myyyymmdd_hhnnss> and <dyyyymmdd_hhnnss> ... stupid! Should I go on now with <cyyyymmdd_hhnnss> ... naaah... it should be something like this:

<datem yyyymmdd_hhnnss>
<datec yyyymmdd_hhnnss>
<datea yyyymmdd_hhnnss>


I will add this in v7.10...

j_c_hallgren
XY Blog Master
Posts: 5824
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Re: "Created Date" as XY Variable

Post by j_c_hallgren »

admin wrote:<datem yyyymmdd_hhnnss>
<datec yyyymmdd_hhnnss>
<datea yyyymmdd_hhnnss>
Is there a good reason why current date can't simply be "date" or maybe "dates" for 'system'?
Since 'datec' could be thought of as current date or created date...
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: "Created Date" as XY Variable

Post by admin »

j_c_hallgren wrote:
admin wrote:<datem yyyymmdd_hhnnss>
<datec yyyymmdd_hhnnss>
<datea yyyymmdd_hhnnss>
Is there a good reason why current date can't simply be "date" or maybe "dates" for 'system'?
Since 'datec' could be thought of as current date or created date...
I was not talking about current date, but of course you are right:
<date yyyymmdd_hhnnss> will be it.

PS: I will keep the old formats for backward compatibility, of course.

Lare2
Posts: 65
Joined: 18 Sep 2006 08:29

Re: "Created Date" as XY Variable

Post by Lare2 »

.......I will add this in v7.10...
Thank You, I'll be waiting for it :lol:

Lare2
Posts: 65
Joined: 18 Sep 2006 08:29

Post by Lare2 »

Was this added ?

Was reading the wiki again and still only mentions:
<myyyymmdd_hhnnss>
Modified date/time of the currently focused & selected List item
<dyyyymmdd_hhnnss>
Current date/time
If so what is the variable ?


TIA

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Post by admin »

Lare2 wrote:Was this added ?

Was reading the wiki again and still only mentions:
<myyyymmdd_hhnnss>
Modified date/time of the currently focused & selected List item
<dyyyymmdd_hhnnss>
Current date/time
If so what is the variable ?
:oops: I forgot it! I'll add it soon...

Lare2
Posts: 65
Joined: 18 Sep 2006 08:29

Post by Lare2 »

Don't worry. I just wanted to know if it was there or not.


/me typing this with one hand. The other one has serious problems

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Post by admin »

Lare2 wrote:Don't worry. I just wanted to know if it was there or not.


/me typing this with one hand. The other one has serious problems
hihi :P

Lare2
Posts: 65
Joined: 18 Sep 2006 08:29

Post by Lare2 »

Just stopped to say Thank You.

As usually you exceeded the original suggestion by adding more than requested. :)

I'm pretty sure the new variables will be of great use to others as well.


Code: Select all

+ New variables that can be used in User-Defined Commands and
      Scripting:
        <date yyyymmdd_hhnnss>      : date now
        <datem yyyymmdd_hhnnss>     : modified date of current item
        <datec yyyymmdd_hhnnss>     : created date of current item
        <datea yyyymmdd_hhnnss>     : accessed date of current item
        <srcdatem yyyymmdd_hhnnss>  : modified date of source item
        <srcdatec yyyymmdd_hhnnss>  : created date of source item
        <srcdatea yyyymmdd_hhnnss>  : accessed date of source item 

Post Reply