C
|
cgphp 6/27/2013 |
Set the field on the List page as Custom and enter the following code: $arrival = strtomtime($data['ArrivalDate']); |
S
|
scoobysteve author 6/27/2013 |
Set the field on the List page as Custom and enter the following code: $arrival = strtomtime($data['ArrivalDate']);
|
C
|
cgphp 6/27/2013 |
Sorry, a typing error. Try this code: $arrival = strtotime($data['ArrivalDate']); |
S
|
scoobysteve author 6/27/2013 |
Sorry, a typing error. Try this code: $arrival = strtotime($data['ArrivalDate']);
|
S
|
scoobysteve author 6/27/2013 |
Sorry, a typing error. Try this code: $arrival = strtotime($data['ArrivalDate']);
|
C
|
cgphp 6/27/2013 |
$arrival = strtotime($data['ArrivalDate']); |
S
|
scoobysteve author 6/27/2013 |
$arrival = strtotime($data['ArrivalDate']);
|
S
|
scoobysteve author 6/28/2013 |
Thanks Cristian, that fixed it , your a star. Steve
|
C
|
cgphp 6/28/2013 |
The number of nights (7) is correct. You have only to floor the number: $arrival = strtotime($data['ArrivalDate']); |
S
|
scoobysteve author 6/28/2013 |
The number of nights (7) is correct. You have only to floor the number: $arrival = strtotime($data['ArrivalDate']);
|