0
我的目標是檢查特定日期對象是否在時間範圍內,然後在頁面上顯示右側按鈕作爲結果。將給定的日期對象與當天的特定時間進行比較
目前,我有這樣的:
ng-if="payment.TransactionDateTime <= *Six PM on the same day* && payment.TransactionDateTime >= *Six PM The Day before the payment.TransactionDateTime*"
我應該怎麼做才能使這項工作?我需要檢查支付的TransactionDateTime屬性前一天的下午6點和TransactionDateTimeProperty的同一天下午6點之間是否發生付款。