[Glass] TimeStamp format

Dario Trussardi via Glass glass at lists.gemtalksystems.com
Tue Nov 25 07:31:27 PST 2014


Ciao,

	i have a problem when i print  a TimeStamp 

	( TimeStamp  fromString: '10-28-2014 11:11:11 am') 		report 	 ->		 10/28/2014 11:11:11


	The system don't  report the	 dd  mm  year    format as i need.

	I setup the system with:

	run
	| time |
	time:= TimeZone timeDifferenceHrs: 1 dstHrs: 1 atTimeHrs: 2
	fromDayNum: 95 toDayNum: 304 on:  #Sunday beginning: 1967
	stdPrintString: 'Germany Standard Time' dstPrintString: 'Germany Legal Time'.
	TimeZone for:#Germany put: time.
	TimeZone default: time

	
	DateTime now. 	 report 	->	25/11/2014 16:26:28  ( it's right ).


	Into GLASS 2.4 the system report  TimeStamp  in the right format,

	 and i think don't did any other change - setup into it.

	
	Considerations?


	Thank,

			Dario


More information about the Glass mailing list