Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - How cocos js converts timestamps into components and seconds
How cocos js converts timestamps into components and seconds
How cocos js converts timestamps into components and seconds

# Contains? & ltiostream & gt

Use? Namespace? std

Not signed? int? GetTick(int? iY,int? iM,int? iD,int? iH,int? iMin,int? Yes)

{

struct? tm? stm

memset(& amp; stm,0,sizeof(STM));

STM . TM _ year = iY- 1900;

STM . TM _ mon = iM- 1;

stm.tm _ mday = iD

stm.tm _ hour = iH

stm.tm _ min = iMin

stm.tm _ sec = iS?

Return? (unsigned? int)mktime(& amp; STM); ?

}

int? Master ()

{

Cout & lt& lt Getty (20 1 1 9, 13,17,22,0);

System ("suspended");

Return? 0;

}