The military way of writing date and time, aka Military Date Time Group or DTG, has the following format:

DDHHMMZMONYY

where DD = Day

HH = Hour (24 hour)

MM = Minutes

Z = Military Time Zone

MON = Month

YY = Year

For example: Dec 27, 2015, 05:48 +0200 will, in the military format, be:

270548BDEC15

with B being equal to UTC+2 (+0200) (see <http://www.timeanddate.com/time/zones/military> for UTC and corresponding Military Time Zones)

I am trying to accomplish this military style/formatting, and currently I have the following in Swift:

```
let StartDTG = NSDate()
let StartDTGDateFormatter = NSDateFormatter()

StartDTGDateFormatter.dateFormat = "ddkkmmZZZLLLyy"

let tempConvertedTAStartDTG = StartDTGDateFormatter.stringFromDate(StartDTG)

let UpperCaseTAStartDTG = tempConvertedTAStartDTG.uppercaseString

TAStartDTG.text = String(UpperCaseTAStartDTG)

```

This code will take the current date and time and display it in the text field as follows:

```
270548+0200DEC15 

```

QUESTION: How can I convert the ZZZ-value to represent the equivalent military value so that I can get this?

270548**B**DEC15