Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
I am creating a composite key to join two tables to get matching values.
I am using below composition but it is returning only up to number, please correct me.
ID &'|'& Number &'|'& Date(Date#( DateTime, 'DD/MM/YYYY HH:MM:SS'),'DD-MM-YYYY') As _Key
Data:
[ ID, Number, DateTime
22,564746474647, 15/07/2020 20:04:45
]
current output: 22|564746474647|
Expected output: 22|564746474647|15-07-2020
Thanks in advance
This worked for me
ID &'|'& Number &'|'& Date(Floor( Date(DateTime)),'DD/MM/YYYY') AS _Key
Thank you Kush for your support and time.
try below
ID &'|'& Number &'|'& Date(floor(timestamp#( DateTime, 'DD/MM/YYYY HH:MM:SS')),'DD-MM-YYYY') As _Key
This worked for me
ID &'|'& Number &'|'& Date(Floor( Date(DateTime)),'DD/MM/YYYY') AS _Key
Thank you Kush for your support and time.