@@ -21,11 +21,15 @@ class Issue extends Authenticatable
protected $fillable = ['issue_no', 'start_time', 'end_time', 'winning_numbers', 'status', 'combo', 'extreme', 'image'];
protected $appends = [
'award',
- 'winning_array'
+ 'winning_array',
+ 'end_timestamp'
];
+ function getEndTimestampAttribute(){
+ return strtotime($this->end_time);
+ }
function getWinningArrayAttribute()
{