Formula Advice to convert UK date to a set format

VBA learner ITG

Active Member
Joined
Apr 18, 2017
Messages
272
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Hi Peers,

I thought I was pretty good at managing Date formats in Excel but this one has left me stumped.

I was wondering if you could provide advice on how to convert this date format: 31/08/2020 11:29:34

To the below format which needs to be stored as Text?

2020-08-31 11:29:34 GMT+0000

I can right click and apply a custom format to 2020-08-31 11:29:34 but I need the GMT+0000 within the cell value..

Any advice is appreciated.
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Try

yyyy-mm-dd hh:mm:ss "GMT+0000"

Or if this should be taken as literal
but I need the GMT+0000 within the cell value.
and it needs to be in the cell not just the formatting, it would be easiest to reformat it and join the extra text as a string with vba.
 
Upvote 0
Solution
Try

yyyy-mm-dd hh:mm:ss "GMT+0000"

Or if this should be taken as literal

and it needs to be in the cell not just the formatting, it would be easiest to reformat it and join the extra text as a string with vba.

Thank you for the reply and advice i will definitely do that.
 
Upvote 0

Forum statistics

Threads
1,224,818
Messages
6,181,152
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top