Please help how can i create a time slot with slots of range of either 30min range or 60min passed as a parameter and saved in my sqlserver table. the time ranges should be saved in the table thanks
Hi makumbi,
Use DATEADD function.
SELECT DATEADD(MINUTE, 30, GETDATE()); // 30 MIN SELECT DATEADD(MINUTE, 60, GETDATE()); // 60 MIN
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.