Ouch, now I see the math; because I asked for the 0th bar with wdate:
Code
0*60 = 0

So if I ask wdate(0) it doesn't matter what is the current TimeFrame.

But if I do this...
Code
	int currentTimeStamp;

	TimeFrame = 1;
	currentTimeStamp = utm(wdate(1));
	printf("\n TIME1: %d", currentTimeStamp);

	TimeFrame = 60;
	currentTimeStamp = utm(wdate(1));
	printf("\n TIME2: %d", currentTimeStamp);

	printf("\n-----");


...I get the result...

Code
 TIME1: 1505147340
 TIME2: 1505143800
-----
 TIME1: 1505147400
 TIME2: 1505143860
-----
 TIME1: 1505147460
 TIME2: 1505143920
-----

...which is fine by definition.

However, I want a method where I can get the closetime of the Xth bar of any given TimeFrame (it could be even 0). So the above example the TIME2 should change in every 60th run (because BarPeriod = 1).