If the cake is already assembled with layers of fresh strawberry, then it's good for up to 18 hours. Then the strawberries will release the juice and spoil fast.