Solution date and time

Hi All,

Can someone please tell me how to write solution date and time in GAMS? I want to write solution date/time in string format “mm/dd/yyyy hh24:mi:ss” to a gdx file. I found the date/time functions in the user guide but none seem to serve my purpose.

Sincerely,

Shashank

–
To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

\

you can used put command like below:

file out /c:\out.txt/;
put out;
put system.date /;
put system.time/;

also you can see other system attribute for using in put command in McCarl Help.


On Wed, Feb 27, 2013 at 7:49 AM, Shashank Pande wrote:

Hi All,

Can someone please tell me how to write solution date and time in GAMS? I want to write solution date/time in string format “mm/dd/yyyy hh24:mi:ss” to a gdx file. I found the date/time functions in the user guide but none seem to serve my purpose.

Sincerely,

Shashank

–
To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.



\

To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

\