Question: What's the easiest way to translate this into a valid C++ 11 statement?

```
typedef struct S_NODE {
  short int total;
  short int move[3];
  int next[3];
} NODE;

NODE* trie = (NODE *)malloc(sizeof(NODE));
trie[0]=(NODE){0,{0,0,0},{-1,-1,-1}}; // invalid C++

```

The only way I can think of is

```
NODE node = {0,{0,0,0},{-1,-1,-1}};
trie[0]=node;

```

but reusing node as a temporary variable isn't possible then:

```
node = {1,{3,3,7},{1,2,3}};  // doesn't compile

```

Answer: 
Set up default timezone by `date_default_timezone_set('UTC');` and read manual. 

Examples: UTC, GMT, Atlantic/Azores
use this code in date function 

```
date('g:i:s', time()-18000);

```

with using **time()-18000** you will fix it   

Good luck !