Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently December 22nd, 2024, 11:30 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Month as a NUMBER
PostPosted: December 24th, 2006, 6:43 pm 
Offline

Joined: October 25th, 2004, 2:20 pm
Posts: 686
Location: Naperville, Illinois (USA)
Opus: 7.05
OS: Win XP SP3
System: P4 3.2GHz 1GB RAM 2-TB HDs + 4 more
Using system variables, you can create a date, BUT if you want it to include the current month as a number (e.g. December = 12) then you have to create a Select - Case Action which converts what OPUS returns from SYSTEM_TIME_MONTH (e.g. Dec for December) into the correct number (e.g. 12).

I'm hoping it would be easy for the brilliant OPUS programmers to create a new system variable called SYSTEM_TIME_MONTH_NUM which returns "12" when it's December, etc. Many times when you are simulating other software products or applications, they use the "all number format" (e.g. 12/24/2006) rather than "Dec 24, 2006."

While you are in there working "under the hood (bonnet)", it would be "nice" to also get a full "December" by creating a new variable (I'm suggesting SYSTEM_TIME_MONTH_FULL), and then create SYSTEM_TIME_DAY_FULL to return "Sunday".

Again, using Select - Case logic all of these names/numbers can be created in the current version of OPUS. It would make things simplier/easier for new users if they could just select these often used variables.

_________________
Fred Harms, Extraordinary Demos
Naperville, Illinois (USA) 630/904-3636
demofred@aol.com


For this message demofred has been thanked by : mackavi


Top
 Profile Visit website  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 26 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group